summaryrefslogtreecommitdiff
path: root/jfr_playoff/template.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-10-21 18:05:13 +0200
committeremkael <emkael@tlen.pl>2017-10-21 18:05:13 +0200
commit54729ff05267ffddaff919dfbdc3b13d8767cd5e (patch)
tree8ac0ef909a93c1f287842d65f4a25fb0fa05db63 /jfr_playoff/template.py
parent928e70491d957142afc4f4d948de563556053f93 (diff)
Ability to set custom link label for swiss tournament links
Diffstat (limited to 'jfr_playoff/template.py')
-rw-r--r--jfr_playoff/template.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jfr_playoff/template.py b/jfr_playoff/template.py
index 63d4cdf..3296461 100644
--- a/jfr_playoff/template.py
+++ b/jfr_playoff/template.py
@@ -131,5 +131,7 @@ PAGE = '''
'''
SWISS_LINK = '''
-[<a href="%s" class="zb" target="_top">&nbsp;Turniej o %d. miejsce&nbsp;</a>]<br /><br />
+[<a href="%s" class="zb" target="_top">&nbsp;%s&nbsp;</a>]<br /><br />
'''
+
+SWISS_DEFAULT_LABEL = 'Turniej o&nbsp;%d.&nbsp;miejsce'