Skip to content
Snippets Groups Projects
Commit ffc17910 authored by Jan Prachař's avatar Jan Prachař
Browse files

org_index: Odkaz na účastníky jen existuje-li nějaká soutěž

parent b91d3072
Branches
No related tags found
No related merge requests found
...@@ -70,7 +70,9 @@ ...@@ -70,7 +70,9 @@
<td> <td>
{% if o.contest or o.round.level > o.place.level %} {% if o.contest or o.round.level > o.place.level %}
<a class="btn btn-xs btn-primary" href='{{ detail_url }}'>Detail</a> <a class="btn btn-xs btn-primary" href='{{ detail_url }}'>Detail</a>
{% if o.num_contests > 0 %}
<a class="btn btn-xs btn-default" href='{{ o.url_for('org_generic_list') }}'>Účastníci</a> <a class="btn btn-xs btn-default" href='{{ o.url_for('org_generic_list') }}'>Účastníci</a>
{% endif %}
{% else %} {% else %}
<form method="post" action="" style="display: inline-block"> <form method="post" action="" style="display: inline-block">
{{ form_add_contest.csrf_token() }} {{ form_add_contest.csrf_token() }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment