Hide more text from funding banner on the funding form page
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 16 May 2013 13:54:30 +0000 (15:54 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 3 Jun 2013 08:03:41 +0000 (10:03 +0200)
apps/funding/templates/funding/tags/funding.html

index 5bc232f..c941331 100755 (executable)
     <div class="description {% if link and is_current %}with-button{% endif %}"
         style="display: inline-block;">
     {% if link %}<a href="{% if is_current %}{% url 'funding_current' offer.slug %}{% else %}{{ offer.get_absolute_url }}{% endif %}">{% endif %}
     <div class="description {% if link and is_current %}with-button{% endif %}"
         style="display: inline-block;">
     {% if link %}<a href="{% if is_current %}{% url 'funding_current' offer.slug %}{% else %}{{ offer.get_absolute_url }}{% endif %}">{% endif %}
-    {% if is_current %}<strong style="margin-right: .6em;">{% trans "Help free the book!" %}</strong>{% endif %}
-    {% if show_title %}<span class="funding-title{% if not is_current %}-strong{% endif %}">{{ offer }}</span>{% endif %}
+    {% if show_title %}
+        {% if is_current %}<strong style="margin-right: .6em;">{% trans "Help free the book!" %}</strong>{% endif %}
+        <span class="funding-title{% if not is_current %}-strong{% endif %}">{{ offer }}</span>
+    {% endif %}
 
     <div class="progress"
         style="text-align: center; background-size: {{ percentage|stringformat:'.2f' }}% 1px;"
 
     <div class="progress"
         style="text-align: center; background-size: {{ percentage|stringformat:'.2f' }}% 1px;"