]> git.openstreetmap.org Git - rails.git/blob - app/views/site/communities.html.erb
Merge remote-tracking branch 'upstream/pull/4717'
[rails.git] / app / views / site / communities.html.erb
1 <% content_for :heading do %>
2   <h1><%= t ".title" %></h1>
3 <% end %>
4
5 <p class="lead"><%= t ".lede_text" %></p>
6
7 <h2><%= t ".local_chapters.title" %></h2>
8 <p><%= t ".local_chapters.about_text" %></p>
9 <p><%= t ".local_chapters.list_text" %></p>
10 <ul>
11   <% @local_chapters.each do |chapter| %>
12     <li>
13       <% if chapter.url %>
14         <a href="<%= chapter.url %>"><%= t "osm_community_index.communities.#{chapter.id}.name" %></a>
15       <% else %>
16         <%= t "osm_community_index.communities.#{chapter.id}.name" %>
17       <% end %>
18     </li>
19   <% end %>
20 </ul>
21
22 <h2><%= t ".other_groups.title" %></h2>
23 <p><%= t ".other_groups.other_groups_html", :communities_wiki_link => link_to(t(".other_groups.communities_wiki"),
24                                                                               t(".other_groups.communities_wiki_url")) %>