aboutsummaryrefslogtreecommitdiffstats
path: root/templates/layerindex/detail.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layerindex/detail.html')
-rw-r--r--templates/layerindex/detail.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/layerindex/detail.html b/templates/layerindex/detail.html
index 3081ef3b68..d1e807bea6 100644
--- a/templates/layerindex/detail.html
+++ b/templates/layerindex/detail.html
@@ -33,14 +33,14 @@
{% if layerbranch.yp_compatible_version %}
<a href="{{layerbranch.yp_compatible_version.link_url}}"><img src="{{layerbranch.yp_compatible_version.image_url}}" alt="{{layerbranch.yp_compatible_version.description}}" class="yp-icon" title="{{layerbranch.yp_compatible_version.description}}"></a>
{% endif %}
- {% if layeritem.status = "N" %}
+ {% if layeritem.status == "N" %}
<span class="label label-warning">Unpublished</span>
{% endif %}
{% if user.is_authenticated %}
<span class="pull-right">
{% if perms.layerindex.publish_layer or useredit %}
<a href="{% url 'edit_layer' url_branch layeritem.name %}" class="btn">Edit layer</a>
- {% if layeritem.layernote_set.count = 0 %}
+ {% if layeritem.layernote_set.count == 0 %}
<a href="{% url 'add_layernote' layeritem.name %}" class="btn">Add note</a>
{% endif %}
{% endif %}
@@ -118,7 +118,7 @@
{% endif %}
{% if layerbranch.active_maintainers.count > 0 %}
- <h3>{% if layerbranch.active_maintainers|length = 1 %}Maintainer{% else %}Maintainers{% endif %}</h3>
+ <h3>{% if layerbranch.active_maintainers|length == 1 %}Maintainer{% else %}Maintainers{% endif %}</h3>
<ul>
{% for maintainer in layerbranch.active_maintainers %}