X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9e496e44c49d0f8e85587c60683d9d1514ae24cc..c4709e2a05ef97f86006e60539db1e994201a5b3:/app/views/site/communities.html.erb?ds=sidebyside diff --git a/app/views/site/communities.html.erb b/app/views/site/communities.html.erb index aee536c05..21b5c235c 100644 --- a/app/views/site/communities.html.erb +++ b/app/views/site/communities.html.erb @@ -2,16 +2,23 @@ <h1><%= t ".title" %></h1> <% end %> -<p><%= t ".lede_text" %></p> +<p class="lead"><%= t ".lede_text" %></p> <h2><%= t ".local_chapters.title" %></h2> <p><%= t ".local_chapters.about_text" %></p> <p><%= t ".local_chapters.list_text" %></p> <ul> <% @local_chapters.each do |chapter| %> - <li><a href="<%= chapter.url %>"><%= t "osm_community_index.local_chapter.#{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")) %>