aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-06 19:00:56 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-06 19:15:39 +0000
commitfecc9076874f5de2ad28e8a43973eba0e472c1ef (patch)
tree61a89267512784662bf3121e3876a3c9d7a50a4e /templates
parent4be747582f936ee4a06a5c6447d3fc1ef7d48534 (diff)
downloadopenembedded-core-contrib-fecc9076874f5de2ad28e8a43973eba0e472c1ef.tar.gz
Ensure we switch to the master branch for reviewing
Newly submitted layers don't have anything other than a master branch, so they won't display properly unless we have master selected; so just add a parameter to submission email and review URLs to ensure that is the case. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index bd6ed47902..846a5c84fc 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -56,7 +56,7 @@
{% block submitlink %}<li><a href="{% url submit_layer %}">Submit layer</a></li>{% endblock %}
{% if user.is_authenticated %}
{% if perms.layeritem.publish_layer %}
- <li><a href="{% url layer_list_review %}">
+ <li><a href="{% url layer_list_review %}?branch=master">
Review
{% if unpublished_count > 0 %}
<span class="badge badge-warning">{{ unpublished_count }}</span>