Commit 3a5f176929bb8b352d17f9eed8f390240f2c8e1c
1 parent
a97a3ba9
Exists in
master
and in
39 other branches
Removed wiki link if trac is disabled.
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
colab/super_archives/templates/superarchives/thread-dashboard.html
... | ... | @@ -11,8 +11,10 @@ |
11 | 11 | {% if latest or most_relevant %} |
12 | 12 | <h3><b>{{ listname|title|lower }} {% if description %} ({{ description }}){% endif %}</b></h3> |
13 | 13 | <div class="btn-group btn-group-sm"> |
14 | - <a href="#" class="btn btn-default" disabled="disabled">{{ number_of_users }} membros</a> | |
15 | - <a href="/wiki/grupos/{{listname}}" class="btn btn-default">Wiki</a> | |
14 | + <a href="#" class="btn btn-default" disabled="disabled">{% blocktrans %}{{ number_of_users }} members{% endblocktrans %}</a> | |
15 | + {% if proxy.trac %} | |
16 | + <a href="/wiki/grupos/{{ listname }}" class="btn btn-default">Wiki</a> | |
17 | + {% endif %} | |
16 | 18 | </div> |
17 | 19 | <hr/> |
18 | 20 | ... | ... |