diff --git a/coinmanager/coinc/templates/coinc/coin.html b/coinmanager/coinc/templates/coinc/coin.html
index b210c3a..7854f04 100644
--- a/coinmanager/coinc/templates/coinc/coin.html
+++ b/coinmanager/coinc/templates/coinc/coin.html
@@ -1,7 +1,9 @@
-
- {% if name %}
- {% if value == 201 %} {{ name }} {% endif %}
- {% if value == 202 %}{{ name }} {% endif %}
- {% if value == 203 %}{{ name }} {% endif %}
- {% endif %}
- |
+
+
+{% if name %}
+ {{ name }}
+{% endif %}
+ |
diff --git a/coinmanager/coinc/views.py b/coinmanager/coinc/views.py
index ea8d10e..5d74970 100644
--- a/coinmanager/coinc/views.py
+++ b/coinmanager/coinc/views.py
@@ -183,7 +183,15 @@ def show_coin(country, year, stamp, value):
name = coin.name if coin.name else ''
special_class = ''
+ special_name = ''
if name:
+ if value == 201:
+ special_name = 'special1_name'
+ elif value == 202:
+ special_name = 'special2_name'
+ elif value == 203:
+ special_name = 'special3_name'
+
if len(name) >= 18 and len(name) <= 42:
special_class = 'two_lines'
elif len(name) > 42:
@@ -195,7 +203,8 @@ def show_coin(country, year, stamp, value):
'name': name,
'td_class': td_class,
'div_class': div_class,
- 'special_class': special_class
+ 'special_class': special_class,
+ 'special_name': special_name
}