summaryrefslogtreecommitdiff
path: root/themes/okadmin
diff options
context:
space:
mode:
Diffstat (limited to 'themes/okadmin')
-rw-r--r--themes/okadmin/templates/index.liquid8
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid
index ae30bc8..8255d99 100644
--- a/themes/okadmin/templates/index.liquid
+++ b/themes/okadmin/templates/index.liquid
@@ -27,9 +27,9 @@
<ol class="resource-list">
{% for data in members %}
<li>
- {% if data.disabled == 'true' %} <del> {% endif %}
+ {% if data.disabled %} <del> {% endif %}
<a href="{{resource.type}}/{{data.id}}/">{{data.title}}</a>
- {% if data.disabled == 'true' %} </del> {% endif %}
+ {% if data.disabled %} </del> {% endif %}
<input class="resource-input" type="hidden" name="{{resource.type}}[{{i}}]"
value='{{data | stringify | escape_once}}'>
</li>
@@ -51,9 +51,9 @@
<ol class="resource-list">
{% for data in resource.data %}
<li>
- {% if data.disabled == 'true' %} <del> {% endif %}
+ {% if data.disabled %} <del> {% endif %}
<a href="{{resource.type}}/{{data.id}}/">{{data.title}}</a>
- {% if data.disabled == 'true' %} </del> {% endif %}
+ {% if data.disabled %} </del> {% endif %}
<input class="resource-input" type="hidden" name="{{resource.type}}[{{forloop.index0}}]"
value='{{data | stringify | escape_once}}'>
</li>