Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix #34 #37 typogrify in URLs

  • Loading branch information...
commit 615d9eb4497e023e4ed9e2fedd826b597c066962 1 parent d163e7e
@evildmp authored
View
10 arkestra_utilities/templates/arkestra/universal_plugin_list_item.html
@@ -1,16 +1,15 @@
{% load thumbnail humanize typogrify_tags %}
-{% filter typogrify %}
{% block list_item %}
<li class = "{{ item.column_class }} {{ item.get_importance}}">
{% block item_title %}
{% if "details" in everything.format and item.is_uninformative %}
- <span class="title">{{ item.short_title }}</span>
+ <span class="title">{{ item.short_title|typogrify }}</span>
{% else %}
{% if item.external_url %}
<a class = "external title" href="{{ item.get_absolute_url }}">{{item.short_title}}</a> - <span class="site-name">{{ item.external_url.external_site }}</span>
{% else %}
- <a class = "title" href="{{ item.get_absolute_url }}">{{item.short_title}}</a>
+ <a class = "title" href="{{ item.get_absolute_url }}">{{item.short_title|typogrify}}</a>
{% endif %}
{% endif %}
{% endblock item_title %}
@@ -24,11 +23,10 @@
{% block item_details %}
{% if "details" in everything.format %}
- {% block item_date %}<div class = "date">{{ item.date|naturalday|capfirst }}</div>{% endblock item_date %}
- {% block item_summary %}{% if item.summary %}<div class = "summary">{{ item.summary|truncatewords:30 }}</div>{% endif %}{% endblock item_summary %}
+ {% block item_date %}<div class = "date">{{ item.date|naturalday|capfirst|typogrify }}</div>{% endblock item_date %}
+ {% block item_summary %}{% if item.summary %}<div class = "summary">{{ item.summary|truncatewords:30|typogrify }}</div>{% endif %}{% endblock item_summary %}
{% endif %}
{% endblock item_details %}
</li>
{% endblock list_item %}
-{% endfilter %}
Please sign in to comment.
Something went wrong with that request. Please try again.