Skip to content

Commit

Permalink
Use zinnia namespace for reversing the URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fantomas42 committed Mar 19, 2014
1 parent a8df8b9 commit fe8059e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion zinnia_html5/templates/zinnia/_entry_detail_base.html
Expand Up @@ -91,7 +91,7 @@ <h2 class="entry-title">
<p class="entry-tags">
<strong>{% trans "Tags" %}</strong> :
{% for tag in object.tags_list %}
<a href="{% url 'zinnia_tag_detail' tag %}"
<a href="{% url 'zinnia:tag_detail' tag %}"
title="{% blocktrans %}Show all entries tagged by {{ tag }}{% endblocktrans %}"
rel="tag">{{ tag }}</a>
{% empty %}
Expand Down
2 changes: 1 addition & 1 deletion zinnia_html5/templates/zinnia/entry_detail_base.html
Expand Up @@ -136,7 +136,7 @@ <h3>{% trans "Trackbacks" %}</h3>
{% block trackbacks-status %}
{% if object.trackbacks_are_open %}
<p>
<a href="{% url 'zinnia_entry_trackback' object.pk %}" rel="trackback">
<a href="{% url 'zinnia:entry_trackback' object.pk %}" rel="trackback">
{% trans "Trackback URL" %}</a>
</p>
{% endif %}
Expand Down
14 changes: 7 additions & 7 deletions zinnia_html5/templates/zinnia/skeleton.html
Expand Up @@ -12,7 +12,7 @@
{% block meta %}{% endblock meta %}
<link rel="pingback" href="/xmlrpc/" />
<link rel="shortcut icon" href="{% static "zinnia/img/favicon.ico" %}" />
<link rel="home" href="{% url 'zinnia_entry_archive_index' %}" />
<link rel="home" href="{% url 'zinnia:entry_archive_index' %}" />
<link rel="stylesheet" type="text/css" media="screen, projection" href="{% static "zinnia/css/screen.css" %}" />
<link rel="stylesheet" type="text/css" media="print" href="{% static "zinnia/css/print.css" %}" />
<!--[if lt IE 8]>
Expand All @@ -27,25 +27,25 @@
<nav>
<ul class="top-navigation">
<li>
<a href="{% url 'zinnia_sitemap' %}" title="{% trans "Sitemap" %}" class="sitemap">
<a href="{% url 'zinnia:sitemap' %}" title="{% trans "Sitemap" %}" class="sitemap">
{% trans "Sitemap" %}
</a>
</li>
<li>
<a href="{% url 'zinnia_entry_latest_feed' %}" title="{% trans "RSS Feed of latest entries" %}" class="feeds">
<a href="{% url 'zinnia:entry_latest_feed' %}" title="{% trans "RSS Feed of latest entries" %}" class="feeds">
{% trans "RSS Feed" %}
</a>
</li>
</ul>
</nav>
<form method="get" action="{% url 'zinnia_entry_search' %}">
<form method="get" action="{% url 'zinnia:entry_search' %}">
<p>
<input type="text" name="pattern" placeholder="{% trans "Keywords..." %}" {% if pattern %}value="{{ pattern }}"{% endif %} />
<input type="submit" class="submitbutton" value="OK" />
</p>
</form>
<h1>
<a href="{% url 'zinnia_entry_archive_index' %}" title="Zinnia's Weblog" rel="home">
<a href="{% url 'zinnia:entry_archive_index' %}" title="Zinnia's Weblog" rel="home">
Zinnia's Weblog
</a>
</h1>
Expand All @@ -61,12 +61,12 @@ <h1>
<h3>{% trans "Useful links" %}</h3>
<ul>
<li>
<a href="{% url 'zinnia_entry_archive_index' %}" title="{% trans "Weblog index" %}">
<a href="{% url 'zinnia:entry_archive_index' %}" title="{% trans "Weblog index" %}">
{% trans "Weblog index" %}
</a>
</li>
<li>
<a href="{% url 'zinnia_sitemap' %}" title="{% trans "Sitemap" %}">
<a href="{% url 'zinnia:sitemap' %}" title="{% trans "Sitemap" %}">
{% trans "Sitemap" %}
</a>
</li>
Expand Down

0 comments on commit fe8059e

Please sign in to comment.