Skip to content

Commit

Permalink
It truncate links so they don't look huge
Browse files Browse the repository at this point in the history
  • Loading branch information
lfalvarez committed Oct 11, 2013
1 parent e0c2def commit f178076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elections/templates/candideitorg/information_source.html
@@ -1,4 +1,4 @@
{% load i18n %}
{% if information_source %}
<a href="" class="pop-fuente" data-content='{{ information_source.content|urlize }}' data-html=true data-title="{% trans 'Fuente' %}"><i class="icon-file-text"></i></a>
<a href="" class="pop-fuente" data-content='{{ information_source.content|urlizetrunc:37 }}' data-html=true data-title="{% trans 'Fuente' %}"><i class="icon-file-text"></i></a>
{% endif %}

0 comments on commit f178076

Please sign in to comment.