aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2017-01-04 13:42:32 -0600
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:52 +1200
commit1c5b79a312c7711ce18406d7be316b91ae8637d9 (patch)
treead2a15a1287682b59ba28b0c3bb1bd686634064d /templates
parent818288f17c4017b0c130ae94cf7b800f7d3e2c37 (diff)
downloadopenembedded-core-contrib-1c5b79a312c7711ce18406d7be316b91ae8637d9.tar.gz
templates/rrs/recipedetail.html: Fix unneeded quotes in url call
The url template function resolve an URL associated with a model, so in Django 1.6 quotes around variables don't get the variable value. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/rrs/recipedetail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/rrs/recipedetail.html b/templates/rrs/recipedetail.html
index fc3395c2e7..9ac15da0ca 100644
--- a/templates/rrs/recipedetail.html
+++ b/templates/rrs/recipedetail.html
@@ -79,7 +79,7 @@
<td>{{ rud.version }}</td>
{% if rud.milestone_name %}
<td>
- <a href="{% url 'recipes' 'rud.release_name' 'rud.milestone_name' %}">
+ <a href="{% url 'recipes' rud.release_name rud.milestone_name %}">
{{ rud.release_name }}
{% if rud.milestone_name != "All" %}
{{ rud.milestone_name }}
@@ -97,7 +97,7 @@
<td>{{ rud.date }}</td>
{% if rud.is_recipe_maintainer %}
- <td><a href="{% url 'recipes' 'rud.release_name' 'rud.milestone_name' %}?maintainer_name={{ rud.maintainer_name|urlencode }}">{{ rud.maintainer_name }}</a></td>
+ <td><a href="{% url 'recipes' rud.release_name rud.milestone_name %}?maintainer_name={{ rud.maintainer_name|urlencode }}">{{ rud.maintainer_name }}</a></td>
{% else %}
<td>{{ rud.maintainer_name }}</a></td>
{% endif %}