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