summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 239b0ff4..b358c384 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -32,7 +32,7 @@
{% for question in questions %}
<div class="qstA">
<h2>
- <a href="{{ question.get_absolute_url }}" title="{{ question.summary }}...">
+ <a href="{{ question.get_absolute_url }}" title="{{ question.summary|collapse }}...">
{{ question.get_question_title }}
</a>
</h2>
@@ -51,7 +51,7 @@
</table>
</div>
<div class="summary">
- {{ question.summary }}...
+ {{ question.summary}}...
</div>
{% if question.wiki %}
<span class="from wiki">{% trans "community wiki" %}</span>
@@ -88,7 +88,7 @@
<div class="boxB">
<h3>{% trans "Recent tags" %}</h3>
<div class="body">
- <p class="tagsbox">
+ <div class="tags">
{% for tag in tags %}
<a rel="tag"
title="{% blocktrans with tag.name as tagname %}see questions tagged '{{tagname}}'{% endblocktrans %}" href="{% url forum.views.tag tag.name|urlencode %}">{{ tag.name }}</a>
@@ -97,6 +97,7 @@
<div class="more"><a href="{% url tags %}">{% trans "popular tags" %} »</a> </div>
</div>
</div>
+{% if awards %}
<div class="boxB">
<h3>{% trans "Recent awards" %}</h3>
<div class="body">
@@ -112,6 +113,7 @@
<div class="more"><a href="{% url badges %}">{% trans "all awards" %} »</a> </div>
</div>
</div>
+{% endif %}
<div id="feeds">
<a href="/feeds/rss" title="{% trans "subscribe to last 30 questions by RSS" %}">{% trans "subscribe to the questions feed" %}</a>
</div>