Add way version pages
This commit is contained in:
parent
85c284aaa6
commit
2f222c49dd
9 changed files with 80 additions and 3 deletions
7
app/views/old_ways/not_found.html.erb
Normal file
7
app/views/old_ways/not_found.html.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
<% set_title(t("browse.not_found.title")) %>
|
||||
|
||||
<%= render "sidebar_header", :title => t("browse.not_found.title") %>
|
||||
|
||||
<div>
|
||||
<p><%= t ".sorry", :id => params[:id], :version => params[:version] %></p>
|
||||
</div>
|
5
app/views/old_ways/show.html.erb
Normal file
5
app/views/old_ways/show.html.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
<% set_title t("browse.way.title_html", :name => printable_name(@feature)) %>
|
||||
|
||||
<%= render "sidebar_header", :title => t("browse.way.title_html", :name => printable_name(@feature)) %>
|
||||
|
||||
<%= render :partial => "browse/way", :object => @feature %>
|
Loading…
Add table
Add a link
Reference in a new issue