]> git.ipfire.org Git - ipfire.org.git/blobdiff - templates/wishlist/wish.html
Major update of the webapp.
[ipfire.org.git] / templates / wishlist / wish.html
index ee7fcc5935fa355e37e498e2059203f15fef6fd3..15fa6233778fc6d8e1a4f54aa2c2bdfec289de87 100644 (file)
@@ -1,4 +1,4 @@
-{% extends "../base-1.html" %}
+{% extends "base.html" %}
 
 {% block title %}{{ wish.title }} - {{ _("Wish") }}{% end block %}
 
@@ -9,17 +9,21 @@
 
        {% module Wishlist([wish,], short=True) %}
 
-       {{ wish.description }}
+       {% raw wish.description %}
 
        <hr>
 
        <p class="ac">
                <i class="icon-calendar"></i>
-               {{ _("Launched: %s") % wish.date_start }}
+               {{ _("Launched: %s") % locale.format_date(wish.date_start, full_format=True) }}
 
                &bull;
 
-               <i class="icon-time"></i>
-               {{ _("Funding ends: %s") % wish.date_end }}
+               {% if wish.date_end %}
+                       <i class="icon-time"></i>
+                       {{ _("Funding ends: %s") % locale.format_date(wish.date_end, full_format=True) }}
+               {% else %}
+                       {{ _("This funding runs until the goal is reached.") }}
+               {% end %}
        </p>
 {% end block %}