Skip to content

Commit

Permalink
changed content list html
Browse files Browse the repository at this point in the history
  • Loading branch information
joostf committed May 21, 2012
1 parent 3594cc1 commit 456e1da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/mod_base_site/templates/phone/_content_list_item.tpl
@@ -1,11 +1,11 @@
{% if id.is_visible and id.is_published and not id|member:exclude %}
<li {% include "_language_attrs.tpl" id=id %}>
{% with id.depiction as dep %}
{# {% if dep %} #}
{# <img src="{% image_url dep mediaclass="base-list-item-small" %}" alt="" /> #}
{# {% endif %} #}
{% if dep %}
<img src="{% image_url dep mediaclass="base-list-item-small" %}" alt="" />
{% endif %}
{% endwith %}
<h3><a href="{{ id.page_url with in_collection=in_collection }}">{{ id.title|default:"&mdash;" }}</a></h3>
<h2>{{ id.title|default:"&mdash;" }}</h2>
{% if id.summary %}<p>{{id.summary|truncate:120}} <a href="{{ id.page_url with in_collection=in_collection }}">{_ more… _}</a></p>
{% elseif id.body %}<p>{{ id.body|striptags|truncate:120 }} <a href="{{ id.page_url with in_collection=in_collection }}">{_ more… _}</a></p>
{% endif %}
Expand Down

0 comments on commit 456e1da

Please sign in to comment.