Mercurial > public > sg101
comparison gpp/templates/news/story_summary.html @ 380:c3cc431b7fb9
Adding a solid-background css class. Making the news stories use it to block out the rays.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 09 Mar 2011 01:03:07 +0000 |
parents | 88b2b9cb8c1f |
children | 24f1230f3ee3 |
comparison
equal
deleted
inserted
replaced
379:84bcaff13129 | 380:c3cc431b7fb9 |
---|---|
1 {% load url from future %} | 1 {% load url from future %} |
2 {% load tagging_tags %} | 2 {% load tagging_tags %} |
3 {% load comment_tags %} | 3 {% load comment_tags %} |
4 {% get_comment_count for story as comment_count %} | 4 {% get_comment_count for story as comment_count %} |
5 <div class="news-story-container"> | 5 <div class="news-story-container solid-background"> |
6 {% if on_home %} | 6 {% if on_home %} |
7 <h3><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h3> | 7 <h3><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h3> |
8 {% else %} | 8 {% else %} |
9 <h4><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h4> | 9 <h4><a href="{{ story.get_absolute_url }}">{{ story.title }}</a></h4> |
10 {% endif %} | 10 {% endif %} |