]> git.ipfire.org Git - ipfire.org.git/blobdiff - www/templates/modules/sidebar-banner.html
Import of new website.
[ipfire.org.git] / www / templates / modules / sidebar-banner.html
index fb891fcae25e7d404be4ebfaed73d9690f037ec8..c1958946b2fdef83825fbb5fe9d44b8eb3a6ee8e 100644 (file)
@@ -1,7 +1,6 @@
 {% if item %}
-       <h4>{{ item.title }}</h4>
-
-       <a href="{{ item.link }}" {% if item.link.startswith("http://") %}target="_blank" {% end %}>
-               <img src="{{ static_url(item.uri) }}" border="0" alt="{{ _("Banner") }}" />
+       <h4>{{ item.caption }}</h4>
+       <a href="{{ item.uri }}" {% if item.uri.startswith("http://") %}target="_blank" {% end %}>
+               <img src="{{ static_url("images/banners/" + item.image) }}" border="0" alt="{{ _("Banner") }}" />
        </a>
 {% end %}