X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7e5cbe87ed37f9cba8224fa4049047d7f981f66a..c40e999fe079c45178b3bce096b54d8957a7141d:/app/views/site/communities.html.erb diff --git a/app/views/site/communities.html.erb b/app/views/site/communities.html.erb index ba687966f..21b5c235c 100644 --- a/app/views/site/communities.html.erb +++ b/app/views/site/communities.html.erb @@ -9,9 +9,16 @@ <p><%= t ".local_chapters.list_text" %></p> <ul> <% @local_chapters.each do |chapter| %> - <li><a href="<%= chapter.url %>"><%= t "osm_community_index.communities.#{chapter.id}.name" %></a></li> + <li> + <% if chapter.url %> + <a href="<%= chapter.url %>"><%= t "osm_community_index.communities.#{chapter.id}.name" %></a> + <% else %> + <%= t "osm_community_index.communities.#{chapter.id}.name" %> + <% end %> + </li> <% end %> </ul> <h2><%= t ".other_groups.title" %></h2> -<p><%= t ".other_groups.about_html" %></p> +<p><%= t ".other_groups.other_groups_html", :communities_wiki_link => link_to(t(".other_groups.communities_wiki"), + t(".other_groups.communities_wiki_url")) %>