]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/not_found.html.erb
Pivot areas to the underlying way or relation object
[rails.git] / app / views / browse / not_found.html.erb
1 <%
2   browse_not_found_type = {
3     'node' => I18n.t('browse.not_found.type.node'),
4     'way' => I18n.t('browse.not_found.type.way'),
5     'relation' => I18n.t('browse.not_found.type.relation'),
6     'changeset' => I18n.t('browse.not_found.type.changeset'),
7   };
8 %>
9
10 <h2>
11     <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
12     <%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></h2>