aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-01-23 12:20:01 +0100
committerJochen Topf <jochen@topf.org>2012-01-23 12:20:01 +0100
commit8b3b151cf371419a5e0ddb2f1e5a14d4d1f49c77 (patch)
tree5c6586991b168b10dc0fbbdf7a7e412f7c344d62 /web/views
parent3452ba879195b3316ef5c9ef3d3b31597aa13139 (diff)
downloadtaginfo-8b3b151cf371419a5e0ddb2f1e5a14d4d1f49c77.tar
taginfo-8b3b151cf371419a5e0ddb2f1e5a14d4d1f49c77.tar.gz
Add tooltip to key/tag description from wiki
Diffstat (limited to 'web/views')
-rw-r--r--web/views/key.erb2
-rw-r--r--web/views/tag.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/views/key.erb b/web/views/key.erb
index ba58402..d13d7ae 100644
--- a/web/views/key.erb
+++ b/web/views/key.erb
@@ -17,7 +17,7 @@
</select>
</form>
<h1><%= @key_pp %></h1>
- <p><%= @desc %></p>
+ <p><span title="<%= t.pages.key.description_from_wiki %>" tipsy="w"><%= @desc %></span></p>
</div>
<div id="tabs">
<ul>
diff --git a/web/views/tag.erb b/web/views/tag.erb
index 8026230..e862d0a 100644
--- a/web/views/tag.erb
+++ b/web/views/tag.erb
@@ -17,7 +17,7 @@
</select>
</form>
<h1><%= link_to_key(@key) %>=<%= @value_pp %></h1>
- <p><%= @desc %></p>
+ <p><span title="<%= t.pages.tag.description_from_wiki %>" tipsy="w"><%= @desc %></span></p>
</div>
<div id="tabs">
<ul>