Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Silva <sebastian@somosazucar.org>2013-09-21 12:37:44 (GMT)
committer Sebastian Silva <sebastian@somosazucar.org>2013-09-21 12:37:44 (GMT)
commit42e7c0b090c40bf287f4f338793872c835cc4eaa (patch)
treebf53a08cfe002b40e4034b394f3b9e60964d9b38
parent0aa0156e47b4c46eb67280a4347018077e420d23 (diff)
fix http://tareas.somosazucar.org/hxp/issue18
-rw-r--r--sugar_network_webui/templates/_browser-grid.html12
-rw-r--r--sugar_network_webui/templates/context-view.html10
2 files changed, 10 insertions, 12 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>
&nbsp;
- {{context['title']}}
+ <span class="iconbox has_tooltip" title="{{_('see') + ' ' + context['title']}}">
+ <a href="/article/{{context['guid']}}">
+ {{context['title']}}</a>
+ </span>
</div>
</div>
{%- endfor %}
diff --git a/sugar_network_webui/templates/context-view.html b/sugar_network_webui/templates/context-view.html
index 8a1ba7b..1b01098 100644
--- a/sugar_network_webui/templates/context-view.html
+++ b/sugar_network_webui/templates/context-view.html
@@ -40,11 +40,7 @@
<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>
@@ -66,7 +62,11 @@
class="star-emblem has_tooltip" src="/static/icons/add-link-small.png"/>
</span>
&nbsp;
- {{context['title']}}
+ <span class="iconbox has_tooltip" title="{{_('see')}}">
+ <a href="/article/{{context['guid']}}">
+ {{context['title']}}
+ </a>
+ </span>
</div>
</div>
<div id="accordion">