# HG changeset patch # User Brian Neal # Date 1449617551 21600 # Node ID a052798c146c0dc7ef6c90c802aecbaf6fce4e79 # Parent d00747d2f43e409ff802d6d7d05c83281d6a8e8f Unbreak the flag icon template tag. This got broken when I did the ManifestStaticFilesStorage changes. diff -r d00747d2f43e -r a052798c146c bio/templatetags/bio_tags.py --- a/bio/templatetags/bio_tags.py Mon Dec 07 18:19:37 2015 -0600 +++ b/bio/templatetags/bio_tags.py Tue Dec 08 17:32:31 2015 -0600 @@ -99,6 +99,7 @@ return { 'src': src, 'name': name, + 'size': size, } diff -r d00747d2f43e -r a052798c146c sg101/templates/bio/flag_icon.html --- a/sg101/templates/bio/flag_icon.html Mon Dec 07 18:19:37 2015 -0600 +++ b/sg101/templates/bio/flag_icon.html Tue Dec 08 17:32:31 2015 -0600 @@ -1,6 +1,10 @@ {% load static from staticfiles %} {% if src %} + {% if size == 'large' %}
{{ name }} {{ name }}
+ {% else %} + {{ name }} + {% endif %} {% endif %}