Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

frontpage

  • Loading branch information...
commit cf42d3653a973cef92e348fa3252e1cdf5966021 1 parent 8ad9d2c
martin becze authored March 28, 2012
9  occupywallst/templates/occupywallst/index.html
@@ -43,9 +43,7 @@ <h3 class="column_titles">Upcoming Events</h3><hr>
43 43
         {% ifchanged event.start_date.day %} <span>{{ event.start_date|date:"SHORT_DATE_FORMAT"|center:8 }}</span><br/> {% endifchanged %}
44 44
         <span><a href="{{ event.get_absolute_url }}">
45 45
         {{ event.title|slice:":30"}}
46  
-        {% if event.title|length > 30 %}
47  
-        ...
48  
-        {% endif %}       
  46
+        {% if event.title|length > 30 %}...{% endif %}       
49 47
         </a></span>
50 48
        
51 49
         {% endfor %}
@@ -54,10 +52,7 @@ <h3 class="column_titles">Upcoming Events</h3><hr>
54 52
             <h3 class="column_titles" >The Wire</h3><hr>
55 53
             {% for article in articles %}
56 54
                 <a style="display:block" href="{{ article.get_absolute_url }}">
57  
-                {{ article.title|slice:":30" }}
58  
-                {% if article.title|length > 30 %}
59  
-                ...
60  
-                {% endif %}
  55
+                {{ article.title|slice:":30" }}{% if article.title|length > 30 %}...{% endif %} 
61 56
                 </a>
62 57
             {% endfor %}
63 58
         </div>

0 notes on commit cf42d36

Please sign in to comment.
Something went wrong with that request. Please try again.