Created
July 21, 2011 19:02
-
-
Save lerrua/1097926 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% load webmedia_tags %} | |
| {% if object_list %} | |
| {% for obj in object_list %} | |
| <div class="wd entry mf-300200-300 {{ obj.category|slugify }}"> | |
| <h5 class="deck" >{% if obj.deck %}{{ obj.deck }}{% else %}{{obj.category}}{% endif %}</h5> | |
| <a href="{{ obj.get_se_url }}">{% embed obj.get_image.url width=300 height=200 %}</a> | |
| <h3> | |
| <a href="{{ obj.get_se_url }}"> | |
| <strong>{{ obj.title }}<span class="{{ obj.get_media_icon }}"></span></strong> | |
| </a> | |
| </h3> | |
| </div> | |
| {% endfor %} | |
| {% else %} | |
| <div class="wd empty"></div> | |
| {% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment