We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db24fe commit 113c18bCopy full SHA for 113c18b
webapp/templates/jury/submission.html.twig
@@ -158,13 +158,15 @@
158
</span>
159
{% endif %}
160
161
- <span>
162
- <i class="fas fa-trophy" title="Contest:"></i>
163
- <a href="{{ path('jury_contest', {'contestId': submission.contest.cid}) }}">
164
- {{ submission.contest.shortname }}
165
- {{ submission.contest | entityIdBadge('c') }}
166
- </a>
167
- </span>
+ {% if current_contest.cid != submission.contest.cid %}
+ <span>
+ <i class="fas fa-trophy" title="Contest:"></i>
+ <a href="{{ path('jury_contest', {'contestId': submission.contest.cid}) }}">
+ {{ submission.contest.shortname }}
+ {{ submission.contest | entityIdBadge('c') }}
+ </a>
168
+ </span>
169
+ {% endif %}
170
171
<span>
172
<i class="fas fa-book-open" title="Problem:"></i>
0 commit comments