<%= @desc %>

<% if @count_all_values <= TaginfoConfig.get('xapi.max_results', 1000) %> <%= xapi_link('relation', 'type', @rtype) %> <%= josm_link('relation', 'type', @rtype) %> <% else %> XAPI JOSM <% end %> <%= turbo_link(@count_all_values, 'relations', 'type', @rtype) %>
<% if @image_url %>
<% end %>

<%= h(t.pages.relation.overview.title) %>

<%= h(t.pages.relation.overview.see_also) %>: type=

<%= h(t.pages.relation.roles.title) %>

<% if @count_relation_roles > 0 %>
<% else %>

<%= h(t.pages.relation.roles.no_roles_info) %>

<% end %>

<%= h(t.pages.relation.graph.title) %>

<% if @count_relation_roles > 0 %>
<% else %>

<%= h(t.pages.relation.roles.no_roles_info) %>

<% end %>

<%= h(t.pages.relation.wiki_pages.title) %>

<% if @wiki_count > 0 %>
<% else %>

<%= h(t.pages.relation.wiki_pages.none_found) %>

<%= h(t.pages.relation.wiki_pages.create) %>

<% end %>

<%= h(t.pages.relation.projects.title) %>

<% javascript do JS.raw(<<"JAVASCRIPT") function page_init2() { var rtype = #{ @rtype.to_json }, roles = #{ @roles.to_json.gsub(/\},/, "},\n") }; jQuery('h1').html("#{ t.pages.relation.name } '" + fmt_rtype(rtype) + "'"); jQuery('span#taglink').html(link_to_value('type', rtype)); init_tabs([rtype]); create_role_chart(roles); } JAVASCRIPT end %>