aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-14 16:23:29 +0200
committerJochen Topf <jochen@topf.org>2014-09-14 16:23:29 +0200
commitad287a979900246b90637bd46b4961b5de7eb812 (patch)
treedf5eb95b1bed5666c067cdcc7f1274a1ccf29bb7 /web/views
parentac488e8fa2797b32b75b7e0879ed29547c60b589 (diff)
downloadtaginfo-ad287a979900246b90637bd46b4961b5de7eb812.tar
taginfo-ad287a979900246b90637bd46b4961b5de7eb812.tar.gz
Add projects to relation pages.
Diffstat (limited to 'web/views')
-rw-r--r--web/views/relation.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/views/relation.erb b/web/views/relation.erb
index be5feb7..caca294 100644
--- a/web/views/relation.erb
+++ b/web/views/relation.erb
@@ -17,6 +17,7 @@
<li><a href="#roles"><%= h(t.pages.relation.roles.tab) %></a></li>
<li><a href="#graph"><%= h(t.pages.relation.graph.tab) %></a></li>
<li><a href="#wiki"><%= h(t.sources.wiki.name) %></a></li>
+ <li><a href="#projects"><%= h(t.taginfo.projects) %></a></li>
</ul>
<div id="overview">
<% if @image_url %>
@@ -57,6 +58,11 @@
<p><a class="extlink" target="_blank" rel="nofollow" href="//wiki.openstreetmap.org/w/index.php?action=edit&title=Relation:<%= @rtype_uri %>"><%= h(t.pages.relation.wiki_pages.create) %></a></p>
<% end %>
</div>
+ <div id="projects">
+ <h2><%= h(t.pages.relation.projects.title) %></h2>
+ <table id="grid-projects">
+ </table>
+ </div>
</div>
<iframe id="josmiframe" name="josmiframe"></iframe>
<% javascript do