From b4bb4965eed4111ca4a08370d2d7c3f6c38271c4 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Wed, 6 Oct 2021 18:18:54 +0200
Subject: [PATCH] =?UTF-8?q?Upozor=C5=88ujeme=20na=20zad=C3=A1n=C3=AD=20kol?=
=?UTF-8?q?a=20pomoc=C3=AD=20seq?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Zbytek viz issue #249.
---
mo/web/org_users.py | 2 +-
mo/web/templates/org_org.html | 2 +-
mo/web/templates/org_place_rights.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mo/web/org_users.py b/mo/web/org_users.py
index daa72af2..e55bb7f4 100644
--- a/mo/web/org_users.py
+++ b/mo/web/org_users.py
@@ -241,7 +241,7 @@ class FormAddRole(FlaskForm):
place = mo_fields.Place()
year = wtforms.IntegerField('Ročník', validators=[validators.Optional()])
category = wtforms.StringField("Kategorie", validators=[validators.Length(max=2)], filters=[lambda x: x or None])
- seq = wtforms.IntegerField("Kolo", validators=[validators.Optional()])
+ seq = wtforms.IntegerField("Kolo", render_kw={"placeholder": "Pořadí kola v kategorii"}, validators=[validators.Optional()])
submit = wtforms.SubmitField('Přidat roli')
diff --git a/mo/web/templates/org_org.html b/mo/web/templates/org_org.html
index 4f9baba9..dfeb3a28 100644
--- a/mo/web/templates/org_org.html
+++ b/mo/web/templates/org_org.html
@@ -66,7 +66,7 @@ Podobně <code>S</code> znamená všechny středoškolské kategorie <code>A</co
<table class="data full">
<thead>
<tr>
- <th>Role<th>Oblast<th>Ročník<th>Kategorie<th>Kolo<th>Přidělil<th>Akce
+ <th>Role<th>Oblast<th>Ročník<th>Kategorie<th class='has-tip' title='Pořadí kola v kategorii'>Kolo<th>Přidělil<th>Akce
</tr>
</thead>
{% for role in user.roles %}
diff --git a/mo/web/templates/org_place_rights.html b/mo/web/templates/org_place_rights.html
index 7664ec0d..22505de0 100644
--- a/mo/web/templates/org_place_rights.html
+++ b/mo/web/templates/org_place_rights.html
@@ -11,7 +11,7 @@
<th>Jméno
<th>Roč.
<th>Kat.
- <th>Kolo
+ <th class='has-tip' title='Pořadí kola v kategorii'>Kolo
<th>Zdroj
</thead>
{% for role in roles %}
--
GitLab