Mercurial > public > sg101
comparison gpp/templates/weblinks/view_links.html @ 242:7e8d2dda99e3
For #93: fix url scheme for weblinks.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 15 Sep 2010 03:24:01 +0000 |
parents | 2baadae33f2e |
children | daa2916f5b34 |
comparison
equal
deleted
inserted
replaced
241:27bee3ac85e6 | 242:7e8d2dda99e3 |
---|---|
10 {% block weblinks_content %} | 10 {% block weblinks_content %} |
11 <h3>Category: {{ category.title }}</h3> | 11 <h3>Category: {{ category.title }}</h3> |
12 | 12 |
13 {% if page.object_list %} | 13 {% if page.object_list %} |
14 <ul class="tab-nav"> | 14 <ul class="tab-nav"> |
15 <li><a href="{% url weblinks-view_links category=category.id sort="title" page="1" %}" | 15 <li><a href="{% url weblinks-view_links slug=category.slug sort="title" %}" |
16 {% ifequal s "title" %}class="active" {% endifequal %}>Title</a></li> | 16 {% ifequal s "title" %}class="active" {% endifequal %}>Title</a></li> |
17 <li><a href="{% url weblinks-view_links category=category.id sort="date" page="1" %}" | 17 <li><a href="{% url weblinks-view_links slug=category.slug sort="date" %}" |
18 {% ifequal s "date" %}class="active"{% endifequal %}>Date</a></li> | 18 {% ifequal s "date" %}class="active"{% endifequal %}>Date</a></li> |
19 <li><a href="{% url weblinks-view_links category=category.id sort="hits" page="1" %}" | 19 <li><a href="{% url weblinks-view_links slug=category.slug sort="hits" %}" |
20 {% ifequal s "hits" %}class="active"{% endifequal %}>Hits</a></li> | 20 {% ifequal s "hits" %}class="active"{% endifequal %}>Hits</a></li> |
21 </ul> | 21 </ul> |
22 | 22 |
23 {% include 'core/pagination.html' %} | 23 {% include 'core/pagination.html' %} |
24 | 24 |