diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-07 09:56:03 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-12 11:33:08 +1200 |
commit | 82c632ca2d9bc9a5892870759f0a78fa6758692c (patch) | |
tree | 6bff86091efb884e2a7a1cc5dc9e8358650cfa48 /templates/base.html | |
parent | 5a38b686a2b762019513b05bf18bed3187be3ca4 (diff) | |
download | openembedded-core-contrib-82c632ca2d9bc9a5892870759f0a78fa6758692c.tar.gz |
Upgrade to Django 1.6+
I'd like to be upgrading to 1.8 but that causes problems with South, and
we're not quite ready to dispense with our existing migrations yet.
Part of the implementation for [YOCTO #9620].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/base.html b/templates/base.html index c872383ccd..fedcfe2151 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,13 +28,13 @@ <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container-fluid"> - <a class="brand" href="{% url frontpage %}">{{ site_name }}</a> + <a class="brand" href="{% url 'frontpage' %}">{{ site_name }}</a> {% if user.is_authenticated %} <div class="btn-group pull-right"> {% if perms.layerindex.publish_layer %} {% if unpublished_count > 0 %} - <a class="btn" href="{% url layer_list_review %}?branch=master"> + <a class="btn" href="{% url 'layer_list_review' %}?branch=master"> <span class="badge badge-warning review-notification">{{ unpublished_count }}</span> </a> {% endif %} @@ -45,14 +45,14 @@ <b class="caret"></b> </button> <ul class="dropdown-menu"> - <li><a href="{% url auth_logout %}">{% trans "Log out" %}</a></li> - <li><a href="{% url auth_password_change %}">{% trans "Change password" %}</a></li> - <li><a href="{% url profile %}">{% trans "Edit profile" %}</a></li> + <li><a href="{% url 'auth_logout' %}">{% trans "Log out" %}</a></li> + <li><a href="{% url 'auth_password_change' %}">{% trans "Change password" %}</a></li> + <li><a href="{% url 'profile' %}">{% trans "Edit profile" %}</a></li> </ul> </div> {% else %} <div class="pull-right"> - <a class="btn" href="{% url auth_login %}">{% trans "Log in" %}</a> + <a class="btn" href="{% url 'auth_login' %}">{% trans "Log in" %}</a> </div> {% endif %} <ul class="nav pull-right"> @@ -60,7 +60,7 @@ </ul> {% block topfunctions %} <div class="pull-right nav-spacer"> - <a class="btn btn-info" href="{% url submit_layer %}">Submit layer</a> + <a class="btn btn-info" href="{% url 'submit_layer' %}">Submit layer</a> </div> <ul class="nav pull-right"> {% if user.is_authenticated %} @@ -70,8 +70,8 @@ <b class="caret"></b> </a> <ul class="dropdown-menu"> - <li><a href="{% url bulk_change %}">Bulk Change</a></li> - <li><a href="{% url duplicates 'master' %}">Duplicates</a></li> + <li><a href="{% url 'bulk_change' %}">Bulk Change</a></li> + <li><a href="{% url 'duplicates' 'master' %}">Duplicates</a></li> </ul> </li> {% endif %} @@ -96,8 +96,8 @@ {% block footer %} <hr /> <div class="footer"> - <a href="{% url history_list %}">change history</a> - • <a href="{% url about %}">about this site</a> + <a href="{% url 'history_list' %}">change history</a> + • <a href="{% url 'about' %}">about this site</a> • <a href="http://www.openembedded.org/Layers_FAQ">FAQ</a> </div> |