mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-21 21:53:30 +00:00
Disabled Galaxy button & Removed 404 exception display
This commit is contained in:
parent
c1e59a0676
commit
773808fa59
@ -4,9 +4,9 @@
|
||||
|
||||
<div id="page">
|
||||
<h3>{% trans %}404, Not Found{% endtrans %}</h3>
|
||||
<p class="alert alert-red">
|
||||
{% comment %} <p class="alert alert-red">
|
||||
{{ exception }}
|
||||
</p>
|
||||
</p> {% endcomment %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -207,7 +207,7 @@ class UserTabsMixin(TabedViewMixin):
|
||||
"name": _("Pictures"),
|
||||
},
|
||||
]
|
||||
if False and self.request.user.was_subscribed:
|
||||
if settings.SITH_ENABLE_GALAXY and self.request.user.was_subscribed:
|
||||
tab_list.append(
|
||||
{
|
||||
"url": reverse("galaxy:user", kwargs={"user_id": user.id}),
|
||||
|
@ -291,6 +291,10 @@ SITH_URL = "my.url.git.an"
|
||||
SITH_NAME = "Sith website"
|
||||
SITH_TWITTER = "@ae_utbm"
|
||||
|
||||
# Enable experimental features
|
||||
# Enable/Disable the galaxy button on user profile (urls stay activated)
|
||||
SITH_ENABLE_GALAXY = False
|
||||
|
||||
# AE configuration
|
||||
# TODO: keep only that first setting, with the ID, and do the same for the other clubs
|
||||
SITH_MAIN_CLUB_ID = 1
|
||||
|
Loading…
Reference in New Issue
Block a user