Ignore:
Timestamp:
May 14, 2010, 1:26:00 AM (15 years ago)
Author:
Geoffrey Thomas <geofft@…>
Branches:
master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
Children:
02e5709
Parents:
e6c8370
git-author:
Geoffrey Thomas <geofft@…> (05/14/10 00:05:59)
git-committer:
Geoffrey Thomas <geofft@…> (05/14/10 01:26:00)
Message:

Don't display categories if there are none

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/template/fysm/fysm_listing.html

    r90afb00 r7636bd3  
    2828    <p class='data'>{{fysm.description}}</p>
    2929    <p class='join'><a href='{{fysm.join_url}}'>Join {{fysm.display_name}}!</a> Have questions? Send them to <a href='mailto:{{fysm.contact_email}}'>{{fysm.contact_email}}</a>!</p>
     30    {% if fysm.tags.all %}
    3031    <p class='tags'>tags: {{fysm|format_categories:year}}</p>
     32    {% endif %}
    3133</div>
    3234{% endfor %}
Note: See TracChangeset for help on using the changeset viewer.