comparison gpp/templates/news/story.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 bbbc357ac5f3
comparison
equal deleted inserted replaced
379:84bcaff13129 380:c3cc431b7fb9
12 {% script_tags "markitup jquery-ui" %} 12 {% script_tags "markitup jquery-ui" %}
13 <script type="text/javascript" src="{{ STATIC_URL }}js/comments.js"></script> 13 <script type="text/javascript" src="{{ STATIC_URL }}js/comments.js"></script>
14 {% endif %} 14 {% endif %}
15 {% endblock %} 15 {% endblock %}
16 {% block news_content %} 16 {% block news_content %}
17 <div class="solid-background">
17 <h3>{{ story.title }}</h3> 18 <h3>{{ story.title }}</h3>
18 <div class="news-details"> 19 <div class="news-details">
19 Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}. 20 Submitted by {{ story.submitter.username }} on {{ story.date_submitted|date:"F d, Y" }}.
20 </div> 21 </div>
21 <hr /> 22 <hr />
57 {% render_comment_form for story %} 58 {% render_comment_form for story %}
58 {% else %} 59 {% else %}
59 <p>Comments are closed for this story. If you'd like to share your thoughts on this story 60 <p>Comments are closed for this story. If you'd like to share your thoughts on this story
60 with the site staff, you can <a href="{% url 'contact-form' %}">contact us directly</a>.</p> 61 with the site staff, you can <a href="{% url 'contact-form' %}">contact us directly</a>.</p>
61 {% endif %} 62 {% endif %}
63 </div>
62 {% endblock %} 64 {% endblock %}