diff options
Diffstat (limited to 'sugar_network_webui/templates/_browser-grid.html')
-rw-r--r-- | sugar_network_webui/templates/_browser-grid.html | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sugar_network_webui/templates/_browser-grid.html b/sugar_network_webui/templates/_browser-grid.html index 2f2a63b..8679ee1 100644 --- a/sugar_network_webui/templates/_browser-grid.html +++ b/sugar_network_webui/templates/_browser-grid.html @@ -20,13 +20,8 @@ <img class="box-button gallery-icon has_tooltip" src="/static/icons/button-blank.png" title="{{_('artifact gallery')}}" /> </a> - {%- if 'activity' in context['type'] -%} - <div class="iconbox has_tooltip" title="{{_('launch') + ' ' + context['title']}}"> + <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> @@ -47,7 +42,10 @@ class="star-emblem has_tooltip" src="/static/icons/add-link-small.png"/> </span> - {{context['title']}} + <span class="iconbox has_tooltip" title="{{_('see') + ' ' + context['title']}}"> + <a href="/article/{{context['guid']}}"> + {{context['title']}}</a> + </span> </div> </div> {%- endfor %} |