From 7c3078cd1f2b3f411af450c2602623325ff681b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Pracha=C5=99?= <jan.prachar@gmail.com>
Date: Fri, 22 Apr 2022 17:58:00 +0200
Subject: [PATCH] =?UTF-8?q?org=5Findex:=20Odkaz=20na=20p=C5=99ihl=C3=A1?=
 =?UTF-8?q?=C5=A1en=C3=A9=20=C3=BA=C4=8Dastn=C3=ADky?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mo/web/templates/org_index.html | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/mo/web/templates/org_index.html b/mo/web/templates/org_index.html
index 7e9f22aa..c60e6c25 100644
--- a/mo/web/templates/org_index.html
+++ b/mo/web/templates/org_index.html
@@ -96,8 +96,11 @@
 				{% endif %}
 			<td class="hidden-xs"><!--{% if not o.contest %}{{ o.num_contests }}S / {% endif %}-->
 				{{- o.num_active_pants }}
-				{%- if o.num_unconfirmed_pants %}<br><span class="text-danger text-nowrap">+{{ o.num_unconfirmed_pants|inflected('přihlášený', 'přihlášení', 'přihlášených') }}</span>{% endif %}
-			<td>{% for r in o.role_list %}{{ role_type_names[r] }}{% if not loop.last %}<br>{% endif %}{% endfor %}
+				{%- if o.num_unconfirmed_pants %}
+				<br><a class="text-danger text-nowrap" href="{{ o.url_for('org_generic_list') }}?participation_state=registered">
+					+{{ o.num_unconfirmed_pants|inflected('přihlášený', 'přihlášení', 'přihlášených') }}
+				</a>
+				{% endif %}
 			<td class="hidden-xs">{% for r in o.role_list %}{{ role_type_names[r] }}{% if not loop.last %}<br>{% endif %}{% endfor %}
 			<td>
 				{% if o.contest or o.round.level > o.place.level %}
-- 
GitLab