Disabled Galaxy button & Removed 404 exception display

This commit is contained in:
Théo DURR
2023-03-08 12:50:52 +01:00
parent c1e59a0676
commit 773808fa59
3 changed files with 7 additions and 3 deletions

View File

@ -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 %}

View File

@ -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}),