Skip to content

Commit

Permalink
mod_admin: Use category short title in "latest" widget, if set
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Scherpenisse committed Nov 27, 2012
1 parent f07a216 commit f36bc48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{{ m.rsc[id].title|striptags|default:"<em>untitled</em>" }}
</td>
<td>
{{ m.rsc[m.rsc[id].category_id].title }}
{{ id.category_id.short_title|default:id.category_id.title }}
<span class="pull-right">
{% if id.page_url %}<a href="{{ id.page_url }}" class="btn btn-mini">{_ view _}</a>{% endif %}
<a href="{% url admin_edit_rsc id=id %}" class="btn btn-mini">{_ edit _}</a>
Expand Down

0 comments on commit f36bc48

Please sign in to comment.