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.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/sugar_network_webui/templates/context-view.html b/sugar_network_webui/templates/context-view.html
index 1b01098..8a1ba7b 100644
--- a/sugar_network_webui/templates/context-view.html
+++ b/sugar_network_webui/templates/context-view.html
@@ -40,7 +40,11 @@
<img class="wiki-icon has_tooltip {{all}}" src="/static/icons/button-list.png" title="{{_('all resources')}}" />
</a>
<div class="iconbox has_tooltip" title="{{_('launch')}}">
+ {%- if 'activity' in context['type'] -%}
<a href="/launch/{{context['guid']}}">
+ {%- else -%}
+ <a href="/article/{{context['guid']}}">
+ {%- endif -%}
<img class="grid-icon" src="/context/icon/{{context['guid']}}" />
</a>
</div>
@@ -62,11 +66,7 @@
class="star-emblem has_tooltip" src="/static/icons/add-link-small.png"/>
</span>
&nbsp;
- <span class="iconbox has_tooltip" title="{{_('see')}}">
- <a href="/article/{{context['guid']}}">
- {{context['title']}}
- </a>
- </span>
+ {{context['title']}}
</div>
</div>
<div id="accordion">