Skip to content

Commit

Permalink
hide upload limit if user has no limits
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Dec 20, 2024
1 parent 2902473 commit 4926f1f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion templates/dashboard.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
{% block title %}Dashboard{% endblock %}

{% block body %}
<h1>Your projects <small>(limited to {{config.MAX_UPLOADS}})</h1>
<h1>
Your projects
{% if not g.user_is_admin and not g.user_without_limits %}
<small>(limited to {{config.MAX_UPLOADS}})</small>
{% endif %}
</h1>
<hr/>
<dashboard></dashboard>
{% endblock %}
Expand Down

0 comments on commit 4926f1f

Please sign in to comment.