Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network_webui/templates/context-view.html
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network_webui/templates/context-view.html')
-rw-r--r--sugar_network_webui/templates/context-view.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar_network_webui/templates/context-view.html b/sugar_network_webui/templates/context-view.html
index 2986572..8a1ba7b 100644
--- a/sugar_network_webui/templates/context-view.html
+++ b/sugar_network_webui/templates/context-view.html
@@ -52,14 +52,14 @@
<span class="context-controls">
<img id="moon-{{context['guid']}}"
title="{{_('available offline')}}"
- {% if context['clone'] %}
+ {% if 'clone' in context['layer'] %}
style="background-color:{{fill}}; border: 1px solid {{stroke}};"
data-clone="true"
{% endif %}
class="moon-emblem has_tooltip" src="/static/icons/moon.png"/>
<img id="star-{{context['guid']}}"
title="{{_('favorite')}}"
- {% if context['favorite'] %}
+ {% if 'favorite' in context['layer'] %}
style="background-color:{{fill}}; border: 1px solid {{stroke}};"
data-favorite="true"
{% endif %}