aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-17 22:44:42 +0100
committerJochen Topf <jochen@topf.org>2013-01-17 22:44:42 +0100
commit363579cf17fe54c5ffcd5407164ceaa6be8e16fe (patch)
tree97c4fd17d3a19bb1cf748c7826a7d8efd84617c8 /web/views
parent2cc4f68ca65b7d9c8a20aed1875ed464ee8afa4d (diff)
downloadtaginfo-363579cf17fe54c5ffcd5407164ceaa6be8e16fe.tar
taginfo-363579cf17fe54c5ffcd5407164ceaa6be8e16fe.tar.gz
Add description and stats to relations page
Diffstat (limited to 'web/views')
-rw-r--r--web/views/relation.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/views/relation.erb b/web/views/relation.erb
index 4cee9a9..bf0044b 100644
--- a/web/views/relation.erb
+++ b/web/views/relation.erb
@@ -9,6 +9,9 @@
</ul>
<div id="overview">
<h2><%= t.pages.relation.overview.title %></h2>
+ <table id="grid-overview">
+ </table>
+ <p><%= t.pages.relation.overview.see_also %>: type=<span id="taglink"></span></p>
</div>
<div id="roles">
<h2><%= t.pages.relation.roles.title %></h2>
@@ -25,6 +28,7 @@
function page_init2() {
var rtype = #{ @rtype.to_json };
jQuery('h1').html("#{ t.pages.relation.name } '" + fmt_rtype(rtype) + "'");
+ jQuery('span#taglink').html(link_to_value('type', rtype));
init_tabs([rtype]);
}
JAVASCRIPT