Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network_webui/templates/_browser-grid.html
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network_webui/templates/_browser-grid.html')
-rw-r--r--sugar_network_webui/templates/_browser-grid.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/sugar_network_webui/templates/_browser-grid.html b/sugar_network_webui/templates/_browser-grid.html
index 8679ee1..2f2a63b 100644
--- a/sugar_network_webui/templates/_browser-grid.html
+++ b/sugar_network_webui/templates/_browser-grid.html
@@ -20,8 +20,13 @@
<img class="box-button gallery-icon has_tooltip" src="/static/icons/button-blank.png" title="{{_('artifact gallery')}}" />
</a>
- <div class="iconbox has_tooltip" title="{{_('launch') + ' ' + context['title']}}">
+ {%- if 'activity' in context['type'] -%}
+ <div class="iconbox has_tooltip" title="{{_('launch') + ' ' + context['title']}}">
<a href="/launch/{{context['guid']}}">
+ {%- else -%}
+ <div class="iconbox has_tooltip" title="{{_('see') + ' ' + context['title']}}">
+ <a href="/article/{{context['guid']}}">
+ {%- endif -%}
<img class="grid-icon" src="/context/icon/{{context['guid']}}?cursor_offset={{context.offset}}" />
</a>
</div>
@@ -42,10 +47,7 @@
class="star-emblem has_tooltip" src="/static/icons/add-link-small.png"/>
</span>
&nbsp;
- <span class="iconbox has_tooltip" title="{{_('see') + ' ' + context['title']}}">
- <a href="/article/{{context['guid']}}">
- {{context['title']}}</a>
- </span>
+ {{context['title']}}
</div>
</div>
{%- endfor %}