From: yomguy Date: Wed, 11 May 2011 14:18:45 +0000 (+0200) Subject: fix collection titles X-Git-Tag: 1.1~208 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=39c582846c491d8b07ee8c4afae9e9c32f7b71bd;p=telemeta.git fix collection titles --- diff --git a/telemeta/htdocs/css/telemeta.css b/telemeta/htdocs/css/telemeta.css index 5e565eeb..c40c8c88 100644 --- a/telemeta/htdocs/css/telemeta.css +++ b/telemeta/htdocs/css/telemeta.css @@ -225,9 +225,7 @@ ul.continents ul li a { line-height: 1.8em; } font-weight: bold; color: #444; margin: 5px 0; - padding-left: 13px; font-size: 0.8em; - background: #FFF url(indent.png) no-repeat 0 1px; } #content .intro span { padding: 3px; diff --git a/telemeta/htdocs/images/item_title.png b/telemeta/htdocs/images/item_title.png index 1154303d..e0fafc0c 100644 Binary files a/telemeta/htdocs/images/item_title.png and b/telemeta/htdocs/images/item_title.png differ diff --git a/telemeta/templates/telemeta_default/collection_detail.html b/telemeta/templates/telemeta_default/collection_detail.html index 069a7ed2..7e9838eb 100644 --- a/telemeta/templates/telemeta_default/collection_detail.html +++ b/telemeta/templates/telemeta_default/collection_detail.html @@ -34,7 +34,7 @@ {% if collection %} {% block title %} -

Collection : {{ collection }}

+

Collection : {{ collection.title }}

{% endblock %} {% block title_buttons %} @@ -79,7 +79,7 @@ {% endif %} {% block infos %}
- {% if collection.items.count %}{{ collection.items.count }} {% ifequal collection.items.count 1 %}item{% else %}items{% endifequal %}{% else %}No item{% endif %} + {% if collection.items.count %}{{ collection.items.count }} {% ifequal collection.items.count 1 %}item{% else %}items{% endifequal %}{% else %}No item{% endif %}
{% block general_info %}