Changeset 1c853ea for asadb/template


Ignore:
Timestamp:
May 16, 2010, 1:26:08 AM (16 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, fysm-4-1, iframe, space-access, stable, stage, test-hooks
Children:
57f8ffa
Parents:
2a6907a
git-author:
Alex Dehnert <adehnert@…> (05/16/10 01:26:08)
git-committer:
Alex Dehnert <adehnert@…> (05/16/10 01:26:08)
Message:

Make logo optional

File:
1 edited

Legend:

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

    rc27da9e r1c853ea  
    2424    <h3><a href='{{fysm.website}}'>{{fysm.display_name}}</a></h3>
    2525    <div class='logo'>
     26        {% if fysm.logo %}
    2627        <img src='{{ MEDIA_URL }}{{fysm.logo}}' alt='{{fysm.display_name}} logo' />
     28        {% else %}
     29        <p>[ No logo ]</p>
     30        {% endif %}
    2731    </div>
    2832    <p class='data'>{{fysm.description}}</p>
Note: See TracChangeset for help on using the changeset viewer.