Mercurial > public > sg101
comparison gpp/templates/news/base.html @ 240:1246a4f1ab4f
For #93: fix url scheme for the news application.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Sep 2010 00:14:54 +0000 |
parents | 6a5549c2efb5 |
children | daa2916f5b34 |
comparison
equal
deleted
inserted
replaced
239:dcc929973bba | 240:1246a4f1ab4f |
---|---|
6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> | 6 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/news.css" /> |
7 {% block news_css %}{% endblock %} | 7 {% block news_css %}{% endblock %} |
8 {% endblock %} | 8 {% endblock %} |
9 {% block content %} | 9 {% block content %} |
10 <h2>SurfGuitar101 News & Articles <a href="{% url feeds-news %}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2> | 10 <h2>SurfGuitar101 News & Articles <a href="{% url feeds-news %}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="News Feed" title="News Feed" /></a></h2> |
11 {% if search_form %} | 11 |
12 <div class="news-search"> | |
13 <form action="{% url news-search_page page=1 %}" method="post">{% csrf_token %} | |
14 <p>{{ search_form.text }} {{ search_form.category }} <input type="submit" value="Search" /></p> | |
15 </form> | |
16 </div> | |
17 {% endif %} | |
18 <ul class="app-menu"> | 12 <ul class="app-menu"> |
19 <li><a href="{% url news-index_page page=1 %}">News Main</a></li> | 13 <li><a href="{% url news-index_page %}">News Main</a></li> |
20 <li><a href="{% url news-archive_index %}">Archive</a></li> | 14 <li><a href="{% url news-archive_index %}">Archive</a></li> |
21 <li><a href="{% url news.views.category_index %}">Categories</a></li> | 15 <li><a href="{% url news-category_index %}">Categories</a></li> |
22 <li><a href="{% url news-tag_index %}">Tags</a></li> | 16 <li><a href="{% url news-tag_index %}">Tags</a></li> |
23 <li><a href="{% url news.views.submit %}">Submit News</a></li> | 17 <li><a href="{% url news-submit %}">Submit News</a></li> |
24 </ul> | 18 </ul> |
25 {% block news_content %} | 19 {% block news_content %} |
26 {% endblock %} | 20 {% endblock %} |
27 {% endblock %} | 21 {% endblock %} |