]> git.ipfire.org Git - ipfire.org.git/commitdiff
Remove double headline on wishlist.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Mar 2014 14:11:59 +0000 (15:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Mar 2014 14:11:59 +0000 (15:11 +0100)
templates/wishlist/modules/wish.html

index 8d8009c26f4c6f89adee24f2da57f83ebafb4fcf..e8bbc43419a16d13c8f3c0b14104873f48d249a8 100644 (file)
@@ -1,19 +1,20 @@
 <div class="panel panel-default">
        <div class="panel-body">
-               {% if wish.remaining_days <= 10 and wish.remaining_days >= 0 %}
-                       <span class="label label-primary pull-right">
-                               {{ _("Only a few days left!") }}
-                       </span>
-               {% end %}
+               {% if not short %}
+                       {% if wish.remaining_days <= 10 and wish.remaining_days >= 0 %}
+                               <span class="label label-primary pull-right">
+                                       {{ _("Only a few days left!") }}
+                               </span>
+                       {% end %}
 
-               <h3>
-                       <a href="/wish/{{ wish.slug }}">{{ wish.title }}</a>
-               </h3>
+                       <h3>
+                               <a href="/wish/{{ wish.slug }}">{{ wish.title }}</a>
+                       </h3>
 
-               <hr>
+                       <hr>
 
-               {% if not short %}
                        {% raw wish.description %}
+
                        <hr>
                {% end %}