changeset 2736:564038b3e35d

Fixed overlapping links in orphan view
author Ajitesh Gupta <ajgupta93@gmail.com>
date Sun, 17 Aug 2014 02:40:57 +0530
parents b5a2249d6be6
children e7fa2fbde5d8
files MoinMoin/templates/link_list_no_item_panel.html
diffstat 1 files changed, 17 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/link_list_no_item_panel.html	Sun Aug 17 02:18:39 2014 +0530
+++ b/MoinMoin/templates/link_list_no_item_panel.html	Sun Aug 17 02:40:57 2014 +0530
@@ -1,14 +1,20 @@
 {% extends theme("layout.html") %}
 {% block content %}
-{% if headline %}
-<h1>{{ headline }}</h1>
-{% endif %}
-{% if fq_names %}
-Total: {{ fq_names|count }}
-<ul>
-    {% for fq_name in fq_names|sort(attribute='value') %}
-    <li><a class="moin-fqname" href="{{ url_for('frontend.show_item', item_name=fq_name) }}" data-fqname="{{fq_name}}">{{ fq_name.value }}</a></li>
-    {% endfor %}
-</ul>
-{% endif %}
+    {% if headline %}
+        <h1>{{ headline }}</h1>
+    {% endif %}
+    {% if fq_names %}
+        <h2>Total: {{ fq_names|count }}</h2>
+        <ul class="one-col">
+            {% for fq_name in fq_names|sort(attribute='value') %}
+                <li>
+                    <a class="moin-fqname"
+                       href="{{ url_for('frontend.show_item', item_name=fq_name) }}"
+                       data-fqname="{{fq_name}}">
+                           {{ fq_name.value }}
+                    </a>
+                </li>
+            {% endfor %}
+        </ul>
+    {% endif %}
 {% endblock %}