Permalink
Browse files

frontpage

  • Loading branch information...
1 parent 8ad9d2c commit cf42d3653a973cef92e348fa3252e1cdf5966021 @wanderer committed Mar 28, 2012
Showing with 2 additions and 7 deletions.
  1. +2 −7 occupywallst/templates/occupywallst/index.html
View
9 occupywallst/templates/occupywallst/index.html
@@ -43,9 +43,7 @@ <h3 class="column_titles">Upcoming Events</h3><hr>
{% ifchanged event.start_date.day %} <span>{{ event.start_date|date:"SHORT_DATE_FORMAT"|center:8 }}</span><br/> {% endifchanged %}
<span><a href="{{ event.get_absolute_url }}">
{{ event.title|slice:":30"}}
- {% if event.title|length > 30 %}
- ...
- {% endif %}
+ {% if event.title|length > 30 %}...{% endif %}
</a></span>
{% endfor %}
@@ -54,10 +52,7 @@ <h3 class="column_titles">Upcoming Events</h3><hr>
<h3 class="column_titles" >The Wire</h3><hr>
{% for article in articles %}
<a style="display:block" href="{{ article.get_absolute_url }}">
- {{ article.title|slice:":30" }}
- {% if article.title|length > 30 %}
- ...
- {% endif %}
+ {{ article.title|slice:":30" }}{% if article.title|length > 30 %}...{% endif %}
</a>
{% endfor %}
</div>

0 comments on commit cf42d36

Please sign in to comment.