Improve browse design
This commit is contained in:
parent
bd19e75214
commit
c4090bb150
19 changed files with 278 additions and 357 deletions
|
@ -624,15 +624,15 @@ nav.secondary {
|
||||||
float: left;
|
float: left;
|
||||||
width: $sidebarWidth;
|
width: $sidebarWidth;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
font-size: 13px;
|
||||||
|
|
||||||
h2, h3, h4 {
|
h2 {
|
||||||
padding: $lineheight $lineheight $lineheight/2;
|
padding: $lineheight $lineheight $lineheight/2;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h3, h4 {
|
||||||
font-weight: normal;
|
margin-top: $lineheight;
|
||||||
color: #666;
|
margin-bottom: $lineheight/2;
|
||||||
font-size: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon.close {
|
.icon.close {
|
||||||
|
@ -937,7 +937,7 @@ header .search_form {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rules for search results which appear in the popout sidebar */
|
/* Rules for search sidebar */
|
||||||
|
|
||||||
.search_results_entry {
|
.search_results_entry {
|
||||||
ul li {
|
ul li {
|
||||||
|
@ -959,6 +959,7 @@ header .search_form {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rules for entity history */
|
/* Rules for entity history */
|
||||||
|
|
||||||
#sidebar_content {
|
#sidebar_content {
|
||||||
.browse_details {
|
.browse_details {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -970,7 +971,7 @@ header .search_form {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rules for the changeset list shown by the history tab */
|
/* Rules for the history sidebar */
|
||||||
|
|
||||||
#sidebar .changesets {
|
#sidebar .changesets {
|
||||||
li {
|
li {
|
||||||
|
@ -980,34 +981,32 @@ header .search_form {
|
||||||
|
|
||||||
&.selected { background: #FFFFE6; }
|
&.selected { background: #FFFFE6; }
|
||||||
/* color is derived from changeset bbox fillColor in history.js */
|
/* color is derived from changeset bbox fillColor in history.js */
|
||||||
|
|
||||||
h4 {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment a {
|
h4 {
|
||||||
font-weight: 500;
|
margin-top: 0;
|
||||||
color: #000;
|
a {
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rules for the data browser */
|
/* Rules for the browse sidebar */
|
||||||
|
|
||||||
#sidebar_content {
|
#sidebar_content {
|
||||||
.browse-section {
|
.browse-section {
|
||||||
padding: 10px 20px;
|
padding: $lineheight;
|
||||||
|
|
||||||
h4 {
|
h4:first-child {
|
||||||
padding: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.paginate {
|
.paginate {
|
||||||
float: right;
|
float: right;
|
||||||
padding: 1px 6px;
|
padding: 1px 6px;
|
||||||
border: 1px solid #eee;
|
border: 1px solid #eee;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.paginate ul {
|
.paginate ul {
|
||||||
|
@ -1037,11 +1036,9 @@ header .search_form {
|
||||||
|
|
||||||
.browse-tag-list {
|
.browse-tag-list {
|
||||||
background-color: #F6F6F6;
|
background-color: #F6F6F6;
|
||||||
border-top: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-bottom: 1px solid #ddd;
|
border-radius: 3px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-left: -$lineheight;
|
|
||||||
margin-right: -$lineheight;
|
|
||||||
|
|
||||||
li {
|
li {
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
|
@ -1056,7 +1053,7 @@ header .search_form {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
float: left;
|
float: left;
|
||||||
padding: 6px 10px 6px $lineheight;
|
padding: 6px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.browse-tag-k {
|
.browse-tag-k {
|
||||||
|
@ -1069,38 +1066,46 @@ header .search_form {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/* Rules for export information which appears in the popout sidebar */
|
.warning {
|
||||||
|
margin: $lineheight/2 0;
|
||||||
|
padding: $lineheight/2;
|
||||||
|
font-size: 90%;
|
||||||
|
}
|
||||||
|
|
||||||
.export_bounds, .export_button {
|
.note-comments li {
|
||||||
text-align: center;
|
margin: $lineheight/2 0;
|
||||||
}
|
|
||||||
|
|
||||||
.export_area_inputs {
|
|
||||||
margin-bottom: $lineheight/2;
|
|
||||||
input[type="text"] {
|
|
||||||
width: 80px;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.export_bound {
|
/* Rules for export sidebar */
|
||||||
margin: $lineheight/4;
|
|
||||||
}
|
|
||||||
|
|
||||||
#export_osm {
|
.export_form {
|
||||||
span.small-title {
|
padding: $lineheight;
|
||||||
font-weight: 500;
|
|
||||||
display: block;
|
.export_area_inputs,
|
||||||
font-size: 14px;
|
.export_button {
|
||||||
padding-bottom: 5px;
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.export_area_inputs {
|
||||||
|
margin-bottom: $lineheight/2;
|
||||||
|
input[type="text"] {
|
||||||
|
width: 80px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.export_bound {
|
||||||
|
margin: $lineheight/4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.export_button {
|
||||||
|
margin-top: $lineheight;
|
||||||
}
|
}
|
||||||
|
|
||||||
dl {
|
dl {
|
||||||
padding-left: 30px;
|
padding-left: $lineheight/2;
|
||||||
font-size: 13px;
|
|
||||||
color: #666;
|
|
||||||
dd {
|
dd {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
@ -2122,66 +2127,6 @@ a.button {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rules for the notes interface */
|
|
||||||
|
|
||||||
.leaflet-popup-content .note {
|
|
||||||
padding-top: $lineheight/2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-popup-content .note {
|
|
||||||
h2 {
|
|
||||||
margin-bottom: $lineheight/2;
|
|
||||||
}
|
|
||||||
|
|
||||||
div {
|
|
||||||
margin-top: $lineheight/2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.permalink {
|
|
||||||
position: absolute;
|
|
||||||
top: $lineheight/4;
|
|
||||||
left: $lineheight/4;
|
|
||||||
min-width: 15px;
|
|
||||||
min-height: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.permalink span {
|
|
||||||
display: none;
|
|
||||||
padding-left: $lineheight;
|
|
||||||
}
|
|
||||||
|
|
||||||
.permalink:hover span {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.warning {
|
|
||||||
display: block;
|
|
||||||
background-color: #ffe0cc;
|
|
||||||
padding: 4px 6px;
|
|
||||||
margin-bottom: $lineheight/2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment_body {
|
|
||||||
margin-top: 2px;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin-top: 0px;
|
|
||||||
margin-bottom: 0px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment {
|
|
||||||
width: 100%;
|
|
||||||
height: 100px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buttons {
|
|
||||||
margin-top: $lineheight/4;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Rules for the iD editor */
|
/* Rules for the iD editor */
|
||||||
|
|
||||||
.id-embed {
|
.id-embed {
|
||||||
|
|
|
@ -1,30 +1,32 @@
|
||||||
<div class='browse-section common'>
|
<h4>
|
||||||
<% if common_details.changeset.tags['comment'].present? %>
|
<% if common_details.changeset.tags['comment'].present? %>
|
||||||
<%= linkify(h(common_details.changeset.tags['comment'])) %>
|
<%= linkify(h(common_details.changeset.tags['comment'])) %>
|
||||||
<% else %>
|
<% else %>
|
||||||
(no comment)
|
(no comment)
|
||||||
<% end %>
|
<% end %>
|
||||||
<h4>
|
</h4>
|
||||||
<% if common_details.visible? %>
|
|
||||||
<%= t 'browse.common_details.edited' %>
|
|
||||||
<% else %>
|
|
||||||
<%= t 'browse.common_details.deleted' %>
|
|
||||||
<% end %>
|
|
||||||
<abbr><%= distance_of_time_in_words_to_now(common_details.timestamp) %> ago</abbr>
|
|
||||||
|
|
||||||
<% if common_details.changeset.user.data_public? %>
|
<div class="details">
|
||||||
<%= t 'browse.common_details.by' %>
|
<% if common_details.visible? %>
|
||||||
<%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %>
|
<%= t 'browse.common_details.edited' %>
|
||||||
<% end %>
|
<% else %>
|
||||||
</h4>
|
<%= t 'browse.common_details.deleted' %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<h4>
|
<abbr><%= distance_of_time_in_words_to_now(common_details.timestamp) %> ago</abbr>
|
||||||
<%= t 'browse.common_details.version' %>
|
|
||||||
#<%= h(common_details.version) %>
|
<% if common_details.changeset.user.data_public? %>
|
||||||
·
|
<%= t 'browse.common_details.by' %>
|
||||||
<%= t 'browse.common_details.in_changeset' %>
|
<%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %>
|
||||||
#<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
|
<% end %>
|
||||||
</h4>
|
</div>
|
||||||
|
|
||||||
|
<div class="details">
|
||||||
|
<%= t 'browse.common_details.version' %>
|
||||||
|
#<%= h(common_details.version) %>
|
||||||
|
·
|
||||||
|
<%= t 'browse.common_details.in_changeset' %>
|
||||||
|
#<%= link_to common_details.changeset_id, :action => :changeset, :id => common_details.changeset_id %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= render :partial => "tag_details", :object => common_details.tags %>
|
<%= render :partial => "tag_details", :object => common_details.tags %>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
<div class='browse_details' id="<%= node_details.version %>">
|
<div class='browse-section'>
|
||||||
<% if node_details.redacted? %>
|
<% if node_details.redacted? %>
|
||||||
<div class='browse-section'>
|
<%= t 'browse.redacted.message_html',
|
||||||
<%= t 'browse.redacted.message_html', :type => t('browse.redacted.type.node'), :redaction_link => link_to(t('browse.redacted.redaction', :id => node_details.redaction.id), node_details.redaction), :version => node_details.version %>
|
:type => t('browse.redacted.type.node'),
|
||||||
</div>
|
:version => node_details.version,
|
||||||
<% else %>
|
:redaction_link => link_to(t('browse.redacted.redaction',
|
||||||
<%= render :partial => "common_details", :object => node_details %>
|
:id => node_details.redaction.id), node_details.redaction) %>
|
||||||
|
<% else %>
|
||||||
|
<%= render :partial => "common_details", :object => node_details %>
|
||||||
|
|
||||||
<% unless node_details.ways.empty? and node_details.containing_relation_members.empty? %>
|
<% unless node_details.ways.empty? and node_details.containing_relation_members.empty? %>
|
||||||
<div class='browse-section'>
|
|
||||||
<h4><%= t 'browse.node_details.part_of' %></h4>
|
<h4><%= t 'browse.node_details.part_of' %></h4>
|
||||||
<ul>
|
<ul>
|
||||||
<% node_details.ways.each do |way| %>
|
<% node_details.ways.each do |way| %>
|
||||||
<li><%= link_to h(printable_name(way)), { :action => "way", :id => way.id.to_s }, :class => link_class('way', way), :title => link_title(way) %></li>
|
<li><%= link_to h(printable_name(way)), { :action => "way", :id => way.id.to_s }, :class => link_class('way', way), :title => link_title(way) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
|
<%= render :partial => "containing_relation", :collection => node_details.containing_relation_members %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,23 +1,21 @@
|
||||||
<div class='browse_details' id="<%= relation_details.version %>">
|
<div class='browse-section'>
|
||||||
<% if relation_details.redacted? %>
|
<% if relation_details.redacted? %>
|
||||||
<div class='browse-section'>
|
<%= t 'browse.redacted.message_html',
|
||||||
<%= t 'browse.redacted.message_html', :type => t('browse.redacted.type.relation'), :redaction_link => link_to(t('browse.redacted.redaction', :id => relation_details.redaction.id), relation_details.redaction), :version => relation_details.version %><
|
:type => t('browse.redacted.type.relation'),
|
||||||
</div>
|
:version => relation_details.version,
|
||||||
<% else %>
|
:redaction_link => link_to(t('browse.redacted.redaction',
|
||||||
<%= render :partial => "common_details", :object => relation_details %>
|
:id => relation_details.redaction.id), relation_details.redaction) %><
|
||||||
|
<% else %>
|
||||||
|
<%= render :partial => "common_details", :object => relation_details %>
|
||||||
|
|
||||||
<% unless relation_details.relation_members.empty? %>
|
<% unless relation_details.relation_members.empty? %>
|
||||||
<div class='browse-section'>
|
|
||||||
<h4><%= t'browse.relation_details.members' %></h4>
|
<h4><%= t'browse.relation_details.members' %></h4>
|
||||||
<ul><%= render :partial => "relation_member", :collection => relation_details.relation_members %></ul>
|
<ul><%= render :partial => "relation_member", :collection => relation_details.relation_members %></ul>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<% unless relation_details.containing_relation_members.empty? %>
|
<% unless relation_details.containing_relation_members.empty? %>
|
||||||
<div class='browse-section'>
|
|
||||||
<h4><%= t'browse.relation_details.part_of' %></h4>
|
<h4><%= t'browse.relation_details.part_of' %></h4>
|
||||||
<ul><%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %></ul>
|
<ul><%= render :partial => "containing_relation", :collection => relation_details.containing_relation_members %></ul>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
<% unless tag_details.empty? %>
|
<% unless tag_details.empty? %>
|
||||||
<div class='browse-section'>
|
<h4><%= t 'browse.tag_details.tags' %></h4>
|
||||||
<h4><%= t'browse.tag_details.tags' %></h4>
|
<ul class='browse-tag-list'>
|
||||||
<ul class='browse-tag-list'>
|
<%= render :partial => "tag", :collection => tag_details.sort %>
|
||||||
<%= render :partial => "tag", :collection => tag_details.sort %>
|
</ul>
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1,35 +1,33 @@
|
||||||
<div class='browse_details' id="<%= way_details.version %>">
|
<div class='browse-section'>
|
||||||
<% if way_details.redacted? %>
|
<% if way_details.redacted? %>
|
||||||
<div class='browse-section'>
|
<%= t 'browse.redacted.message_html',
|
||||||
<%= t 'browse.redacted.message_html', :type => t('browse.redacted.type.way'), :redaction_link => link_to(t('browse.redacted.redaction', :id => way_details.redaction.id), way_details.redaction), :version => way_details.version %>
|
:type => t('browse.redacted.type.way'),
|
||||||
</div>
|
:version => way_details.version,
|
||||||
<% else %>
|
:redaction_link => link_to(t('browse.redacted.redaction',
|
||||||
<%= render :partial => "common_details", :object => way_details %>
|
:id => way_details.redaction.id), way_details.redaction) %>
|
||||||
|
<% else %>
|
||||||
|
<%= render :partial => "common_details", :object => way_details %>
|
||||||
|
|
||||||
<% unless way_details.way_nodes.empty? %>
|
<% unless way_details.way_nodes.empty? %>
|
||||||
<div class='browse-section'>
|
|
||||||
<h4><%= t'browse.way_details.nodes' %></h4>
|
<h4><%= t'browse.way_details.nodes' %></h4>
|
||||||
<ul>
|
<ul>
|
||||||
<% way_details.way_nodes.each do |wn| %>
|
<% way_details.way_nodes.each do |wn| %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to h(printable_name(wn.node)), { :action => "node", :id => wn.node_id.to_s }, :class => link_class('node', wn.node), :title => link_title(wn.node) %>
|
<%= link_to h(printable_name(wn.node)), { :action => "node", :id => wn.node_id.to_s }, :class => link_class('node', wn.node), :title => link_title(wn.node) %>
|
||||||
<% related_ways = wn.node.ways.reject { |w| w.id == wn.way_id } %>
|
<% related_ways = wn.node.ways.reject { |w| w.id == wn.way_id } %>
|
||||||
<% if related_ways.size > 0 then %>
|
<% if related_ways.size > 0 then %>
|
||||||
(<%= raw t 'browse.way_details.also_part_of', :count => related_ways.size, :related_ways => related_ways.map { |w| link_to(h(printable_name(w)), { :action => "way", :id => w.id.to_s }, :class => link_class('way', w), :title => link_title(w) ) }.to_sentence %>)
|
(<%= raw t 'browse.way_details.also_part_of', :count => related_ways.size, :related_ways => related_ways.map { |w| link_to(h(printable_name(w)), { :action => "way", :id => w.id.to_s }, :class => link_class('way', w), :title => link_title(w) ) }.to_sentence %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<% unless way_details.containing_relation_members.empty? %>
|
<% unless way_details.containing_relation_members.empty? %>
|
||||||
<div class='browse-section'>
|
|
||||||
<h4><%= t'browse.way_details.part_of' %></h4>
|
<h4><%= t'browse.way_details.part_of' %></h4>
|
||||||
<ul>
|
<ul>
|
||||||
<%= render :partial => "containing_relation", :collection => way_details.containing_relation_members %>
|
<%= render :partial => "containing_relation", :collection => way_details.containing_relation_members %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,14 +6,12 @@
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div class="browse-section">
|
<div class="browse-section">
|
||||||
<p><%= @changeset.tags['comment'].to_s.presence || t('browse.changeset_details.no_comment') %></p>
|
<h4><%= @changeset.tags['comment'].to_s.presence || t('browse.changeset_details.no_comment') %></h4>
|
||||||
<h4><%= changeset_details(@changeset) %></h4>
|
<div class="details"><%= changeset_details(@changeset) %></div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %>
|
<%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %>
|
||||||
|
|
||||||
<% unless @nodes.empty? %>
|
<% unless @nodes.empty? %>
|
||||||
<div class='browse-section paginate'>
|
|
||||||
<h4>
|
<h4>
|
||||||
<%= type_and_paginated_count('node', @node_pages) %>
|
<%= type_and_paginated_count('node', @node_pages) %>
|
||||||
<%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %>
|
<%= render :partial => 'paging_nav', :locals => { :pages => @node_pages, :page_param => "node_page"} %>
|
||||||
|
@ -23,11 +21,9 @@
|
||||||
<li><%= link_to h(printable_name(node, true)), { :action => "node", :id => node.node_id.to_s }, :class => link_class('node', node), :title => link_title(node) %></li>
|
<li><%= link_to h(printable_name(node, true)), { :action => "node", :id => node.node_id.to_s }, :class => link_class('node', node), :title => link_title(node) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<% unless @ways.empty? %>
|
<% unless @ways.empty? %>
|
||||||
<div class='browse-section paginate'>
|
|
||||||
<h4>
|
<h4>
|
||||||
<%= type_and_paginated_count('way', @way_pages) %>
|
<%= type_and_paginated_count('way', @way_pages) %>
|
||||||
<%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %>
|
<%= render :partial => 'paging_nav', :locals => { :pages => @way_pages, :page_param => "way_page" } %>
|
||||||
|
@ -37,11 +33,9 @@
|
||||||
<li><%= link_to h(printable_name(way, true)), { :action => "way", :id => way.way_id.to_s }, :class => link_class('way', way), :title => link_title(way) %></li>
|
<li><%= link_to h(printable_name(way, true)), { :action => "way", :id => way.way_id.to_s }, :class => link_class('way', way), :title => link_title(way) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<% unless @relations.empty? %>
|
<% unless @relations.empty? %>
|
||||||
<div class='browse-section paginate'>
|
|
||||||
<h4>
|
<h4>
|
||||||
<%= type_and_paginated_count('relation', @relation_pages) %>
|
<%= type_and_paginated_count('relation', @relation_pages) %>
|
||||||
<%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>
|
<%= render :partial => 'paging_nav', :locals => { :pages => @relation_pages, :page_param => "relation_page" } %>
|
||||||
|
@ -51,11 +45,11 @@
|
||||||
<li><%= link_to h(printable_name(relation, true)), { :action => "relation", :id => relation.relation_id.to_s }, :class => link_class('relation', relation), :title => link_title(relation) %></li>
|
<li><%= link_to h(printable_name(relation, true)), { :action => "relation", :id => relation.relation_id.to_s }, :class => link_class('relation', relation), :title => link_title(relation) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
</div>
|
||||||
|
|
||||||
<div class='browse-section secondary-actions'>
|
<div class='secondary-actions'>
|
||||||
<h4><%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
|
<%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
|
||||||
·
|
·
|
||||||
<%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %></h4>
|
<%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div class="note browse-section">
|
<div class="note browse-section">
|
||||||
<h4><%= t('javascripts.notes.new.intro') %></h4>
|
<p class="warning"><%= t('javascripts.notes.new.intro') %></p>
|
||||||
<form action="#">
|
<form action="#">
|
||||||
<input type="hidden" name="lon">
|
<input type="hidden" name="lon">
|
||||||
<input type="hidden" name="lat">
|
<input type="hidden" name="lat">
|
||||||
|
|
|
@ -1,18 +1,17 @@
|
||||||
<%
|
<%
|
||||||
@name = printable_name @node
|
@name = printable_name @node
|
||||||
set_title(t('browse.node.node') + ' | ' + @name)
|
set_title(t('browse.node.node') + ' | ' + @name)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||||
<%= t'browse.node.node_title', :node_name => @name %>
|
<%= t'browse.node.node_title', :node_name => @name %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<%= render :partial => "node_details", :object => @node %>
|
<%= render :partial => "node_details", :object => @node %>
|
||||||
|
|
||||||
<div class='browse-section secondary-actions clearfix'>
|
<div class='secondary-actions'>
|
||||||
<h4><%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %>
|
<%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %>
|
||||||
·
|
·
|
||||||
<%= link_to(t('browse.node.view_history'), :action => "node_history") %>
|
<%= link_to(t('browse.node.view_history'), :action => "node_history") %>
|
||||||
</h4>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
<%
|
<%
|
||||||
@name = printable_name @node
|
@name = printable_name @node
|
||||||
set_title(t('browse.node_history.node_history') + ' | ' + @name)
|
set_title(t('browse.node_history.node_history') + ' | ' + @name)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||||
<%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
|
<%= raw t'browse.node_history.node_history_title', :node_name => link_to(h(@name), :action => "node", :id => @node.id) %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<% @node.old_nodes.reverse.each do |node| %>
|
<% @node.old_nodes.reverse.each do |node| %>
|
||||||
<%= render :partial => "node_details", :object => node %>
|
<%= render :partial => "node_details", :object => node %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class='browse-section secondary-actions clearfix'>
|
<div class='secondary-actions'>
|
||||||
<span><%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %>
|
<%= link_to(t('browse.node_history.download_xml'), :controller => "old_node", :action => "history") %>
|
||||||
·
|
·
|
||||||
<%= link_to(t('browse.node_history.view_details'), :action => "node") %></span>
|
<%= link_to(t('browse.node_history.view_details'), :action => "node") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,63 +4,50 @@
|
||||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||||
<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
|
<%= t "browse.note.#{@note.status}_title", :note_name => @note.id %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div class="browse-section">
|
<div class="browse-section">
|
||||||
<h4>
|
<h4><%= h(@note.comments.first.body.to_html) %></h4>
|
||||||
|
<div class="details">
|
||||||
<%= note_event('open', @note.created_at, @note.author) %>
|
<%= note_event('open', @note.created_at, @note.author) %>
|
||||||
<% if @note.status == "closed" %>
|
<% if @note.status == "closed" %>
|
||||||
<br/>
|
<br/>
|
||||||
<%= note_event(@note.status, @note.closed_at, @note.comments.last.author) %>
|
<%= note_event(@note.status, @note.closed_at, @note.comments.last.author) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</h4>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% if @note.comments.find { |comment| comment.author.nil? } -%>
|
|
||||||
<div class='browse-section common'>
|
|
||||||
<p class='warning'><%= t "javascripts.notes.show.anonymous_warning" %></p>
|
|
||||||
</div>
|
|
||||||
<% end -%>
|
|
||||||
|
|
||||||
<div class='browse-section common'>
|
|
||||||
<div class='browse-field' id="c<%= @note.comments.first.id %>">
|
|
||||||
<h4><%= t "browse.note.description" %></h4>
|
|
||||||
<%= h(@note.comments.first.body.to_html) %>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='browse-field'>
|
<% if @note.comments.find { |comment| comment.author.nil? } -%>
|
||||||
<h4><%= t "browse.node_details.coordinates" %></h4>
|
<p class='warning'><%= t "javascripts.notes.show.anonymous_warning" %></p>
|
||||||
<p class='geo'><%= link_to ("<span class='latitude'>#{number_with_delimiter(@note.lat)}</span>, <span class='longitude'>#{number_with_delimiter(@note.lon)}</span>".html_safe), {:controller => 'site', :action => 'index', :lat => h(@note.lat), :lon => h(@note.lon), :zoom => "18"} %></p>
|
<% end -%>
|
||||||
</div>
|
|
||||||
</div>
|
<% if @note.comments.length > 1 %>
|
||||||
|
<div class='note-comments'>
|
||||||
|
<ul>
|
||||||
|
<% @note.comments[1..-1].each do |comment| %>
|
||||||
|
<li id="c<%= comment.id %>">
|
||||||
|
<small class='deemphasize'><%= note_event(comment.event, comment.created_at, comment.author) %></small>
|
||||||
|
<%= comment.body.to_html %>
|
||||||
|
</li>
|
||||||
|
<% end %>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<% if @note.comments.length > 1 %>
|
|
||||||
<div class='browse-section clearfix note-comments'>
|
|
||||||
<ul>
|
|
||||||
<% @note.comments[1..-1].each do |comment| %>
|
|
||||||
<li id="c<%= comment.id %>">
|
|
||||||
<small class='deemphasize'><%= note_event(comment.event, comment.created_at, comment.author) %></small>
|
|
||||||
<%= comment.body.to_html %>
|
|
||||||
</li>
|
|
||||||
<% end %>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
<div class="browse-section">
|
|
||||||
<% if @note.status == "open" %>
|
<% if @note.status == "open" %>
|
||||||
<form action="#">
|
<form action="#">
|
||||||
<textarea class="comment" name="text" cols="40" rows="5"></textarea>
|
<textarea class="comment" name="text" cols="40" rows="5"></textarea>
|
||||||
<div class="buttons clearfix">
|
<div class="buttons clearfix">
|
||||||
<input type="submit" name="hide" value="<%= t('javascripts.notes.show.hide') %>" class="hide_unless_moderator deemphasize" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, 'json') %>">
|
<input type="submit" name="hide" value="<%= t('javascripts.notes.show.hide') %>" class="hide_unless_moderator deemphasize" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, 'json') %>">
|
||||||
<input type="submit" name="close" value="<%= t('javascripts.notes.show.resolve') %>" class="hide_unless_logged_in" data-note-id="<%= @note.id %>" data-method="POST" data-url="<%= close_note_url(@note, 'json') %>">
|
<input type="submit" name="close" value="<%= t('javascripts.notes.show.resolve') %>" class="hide_unless_logged_in" data-note-id="<%= @note.id %>" data-method="POST" data-url="<%= close_note_url(@note, 'json') %>">
|
||||||
<input type="submit" name="comment" value="<%= t('javascripts.notes.show.comment') %>" data-note-id="<%= @note.id %>" data-method="POST" data-url="<%= comment_note_url(@note, 'json') %>" disabled="1">
|
<input type="submit" name="comment" value="<%= t('javascripts.notes.show.comment') %>" data-note-id="<%= @note.id %>" data-method="POST" data-url="<%= comment_note_url(@note, 'json') %>" disabled="1">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<% else %>
|
<% else %>
|
||||||
<form action="#">
|
<form action="#">
|
||||||
<input type="hidden" name="text" value="">
|
<input type="hidden" name="text" value="">
|
||||||
<div class="buttons clearfix">
|
<div class="buttons clearfix">
|
||||||
<input type="submit" name="hide" value="<%= t('javascripts.notes.show.hide') %>" class="hide_unless_moderator deemphasize" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, 'json') %>">
|
<input type="submit" name="hide" value="<%= t('javascripts.notes.show.hide') %>" class="hide_unless_moderator deemphasize" data-note-id="<%= @note.id %>" data-method="DELETE" data-url="<%= note_url(@note, 'json') %>">
|
||||||
<input type="submit" name="reopen" value="<%= t('javascripts.notes.show.reactivate') %>" class="hide_unless_logged_in" data-note-id="<%= @note.id %>" data-method="POST" data-url="<%= reopen_note_url(@note, 'json') %>">
|
<input type="submit" name="reopen" value="<%= t('javascripts.notes.show.reactivate') %>" class="hide_unless_logged_in" data-note-id="<%= @note.id %>" data-method="POST" data-url="<%= reopen_note_url(@note, 'json') %>">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
<%
|
<%
|
||||||
@name = printable_name @relation
|
@name = printable_name @relation
|
||||||
set_title(t('browse.relation.relation') + ' | ' + @name)
|
set_title(t('browse.relation.relation') + ' | ' + @name)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||||
<%= t'browse.relation.relation_title', :relation_name => @name %>
|
<%= t'browse.relation.relation_title', :relation_name => @name %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<%= render :partial => "relation_details", :object => @relation %>
|
<%= render :partial => "relation_details", :object => @relation %>
|
||||||
|
|
||||||
<div class='secondary-actions clearfix'>
|
<div class='secondary-actions'>
|
||||||
<span><%= link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read") %>
|
<%= link_to(t('browse.relation.download_xml'), :controller => "relation", :action => "read") %>
|
||||||
<%= link_to(t('browse.relation.view_history'), :action => "relation_history") %></span>
|
·
|
||||||
|
<%= link_to(t('browse.relation.view_history'), :action => "relation_history") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,18 +1,19 @@
|
||||||
<%
|
<%
|
||||||
@name = printable_name @relation
|
@name = printable_name @relation
|
||||||
set_title(t('browse.relation_history.relation_history') + ' | ' + @name)
|
set_title(t('browse.relation_history.relation_history') + ' | ' + @name)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||||
<%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
|
<%= raw t'browse.relation_history.relation_history_title', :relation_name => link_to(h(@name), :action => "relation", :id => @relation.id) %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<% @relation.old_relations.reverse.each do |relation| %>
|
<% @relation.old_relations.reverse.each do |relation| %>
|
||||||
<%= render :partial => "relation_details", :object => relation %>
|
<%= render :partial => "relation_details", :object => relation %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class='secondary-actions clearfix'>
|
<div class='secondary-actions'>
|
||||||
<span><%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %>
|
<%= link_to(t('browse.relation_history.download_xml'), :controller => "old_relation", :action => "history") %>
|
||||||
<%= link_to(t('browse.relation_history.view_details'), :action => "relation") %></span>
|
·
|
||||||
|
<%= link_to(t('browse.relation_history.view_details'), :action => "relation") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
<%
|
<%
|
||||||
@name = printable_name @way
|
@name = printable_name @way
|
||||||
set_title(t('browse.way.way') + ' | ' + @name)
|
set_title(t('browse.way.way') + ' | ' + @name)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||||
<%= t'browse.way.way_title', :way_name => @name %>
|
<%= t'browse.way.way_title', :way_name => @name %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<%= render :partial => "way_details", :object => @way %>
|
<%= render :partial => "way_details", :object => @way %>
|
||||||
|
|
||||||
<div class='browse-section secondary-actions clearfix'>
|
<div class='secondary-actions'>
|
||||||
<h4><%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
|
<%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
|
||||||
·
|
·
|
||||||
<%= link_to(t('browse.way.view_history'), :action => "way_history") %>
|
<%= link_to(t('browse.way.view_history'), :action => "way_history") %>
|
||||||
</h4>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
<%
|
<%
|
||||||
@name = printable_name @way
|
@name = printable_name @way
|
||||||
set_title(t('browse.way_history.way_history') + ' | ' + @name)
|
set_title(t('browse.way_history.way_history') + ' | ' + @name)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||||
<%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
|
<%= raw t'browse.way_history.way_history_title', :way_name => link_to(h(@name), :action => "way", :id => @way.id) %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<% @way.old_ways.reverse.each do |way| %>
|
<% @way.old_ways.reverse.each do |way| %>
|
||||||
<%= render :partial => "way_details", :object => way %>
|
<%= render :partial => "way_details", :object => way %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div class='secondary-actions clearfix'>
|
<div class='secondary-actions'>
|
||||||
<span><%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
|
<%= link_to(t('browse.way_history.download_xml'), :controller => "old_way", :action => "history") %>
|
||||||
·
|
·
|
||||||
<%= link_to(t('browse.way_history.view_details'), :action => "way") %></span>
|
<%= link_to(t('browse.way_history.view_details'), :action => "way") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<%= content_tag "li", :id => "changeset_#{changeset.id}", :data => {:changeset => changeset_data} do %>
|
<%= content_tag "li", :id => "changeset_#{changeset.id}", :data => {:changeset => changeset_data} do %>
|
||||||
<p class="comment">
|
<h4>
|
||||||
<a class="changeset_id" href="<%= changeset_path(changeset.id) %>">
|
<a class="changeset_id" href="<%= changeset_path(changeset.id) %>">
|
||||||
<% if changeset.tags['comment'].to_s != '' %>
|
<% if changeset.tags['comment'].to_s != '' %>
|
||||||
<%= linkify(h(changeset.tags['comment'])) %>
|
<%= linkify(h(changeset.tags['comment'])) %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= t 'changeset.changeset.no_comment' %>
|
<%= t 'changeset.changeset.no_comment' %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</h4>
|
||||||
<h4><%= changeset_details(changeset) %></h4>
|
<div class="details"><%= changeset_details(changeset) %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
|
<%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
|
||||||
</div>
|
</div>
|
||||||
<% elsif params[:max_id] %>
|
<% elsif params[:max_id] %>
|
||||||
<h4 class="inner22"><%= t('changeset.list.no_more') %></h4>
|
<div class="inner22"><%= t('changeset.list.no_more') %></div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<h4 class="inner22"><%= t('changeset.list.empty') %></h4>
|
<div class="inner22"><%= t('changeset.list.empty') %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -1,48 +1,46 @@
|
||||||
<% set_title(t('export.title')) %>
|
<% set_title(t('export.title')) %>
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
<a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
|
||||||
<%= t 'export.start_rjs.export' %>
|
<%= t 'export.start_rjs.export' %>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<%= form_tag :controller => "export", :action => "finish" do %>
|
<%= form_tag({:controller => "export", :action => "finish"}, :class => "export_form") do %>
|
||||||
<%= hidden_field_tag 'format', 'osm' %>
|
<%= hidden_field_tag 'format', 'osm' %>
|
||||||
|
|
||||||
<div class="export_bounds inner22">
|
<div class='export_area_inputs'>
|
||||||
<div class='export_area_inputs'>
|
<%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
|
||||||
<%= text_field_tag('maxlat', nil, :size => 10, :class => "export_bound") %>
|
<br/>
|
||||||
<br/>
|
<%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
|
||||||
<%= text_field_tag('minlon', nil, :size => 10, :class => "export_bound") %>
|
<%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
|
||||||
<%= text_field_tag('maxlon', nil, :size => 10, :class => "export_bound") %>
|
<br/>
|
||||||
<br/>
|
<%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
|
||||||
<%= text_field_tag('minlat', nil, :size => 10, :class => "export_bound") %>
|
<br/>
|
||||||
</div>
|
<a id='drag_box' href="#"><%= t'export.start.manually_select' %></a>
|
||||||
<a id="drag_box" class='export_hint' href="#"><%= t'export.start.manually_select' %></a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="export_osm">
|
<h4><%= t'export.start.licence' %></h4>
|
||||||
<h4><span class="small-title"><%= t'export.start.licence' %></span><%= raw t'export.start.export_details' %></h4>
|
<p><%= raw t 'export.start.export_details' %></p>
|
||||||
|
|
||||||
<div id="export_osm_too_large">
|
<div id="export_osm_too_large">
|
||||||
<div class="export_details">
|
<h4><%= t'export.start.too_large.heading' %></h4>
|
||||||
<h4><span class="small-title red"><%= t'export.start.too_large.heading' %></span><%= t'export.start.too_large.body' %></h4>
|
<p><%= t'export.start.too_large.body' %></p>
|
||||||
<dl class="inner12">
|
<dl class="inner12">
|
||||||
<dt><a href="http://planet.openstreetmap.org/"><%= t'export.start.too_large.planet.title' %></a></dt>
|
<dt><a href="http://planet.openstreetmap.org/"><%= t'export.start.too_large.planet.title' %></a></dt>
|
||||||
<dd><%= t'export.start.too_large.planet.description' %></dd>
|
<dd><%= t'export.start.too_large.planet.description' %></dd>
|
||||||
|
|
||||||
<dt><a href="http://download.geofabrik.de/"><%= t'export.start.too_large.geofabrik.title' %></a></dt>
|
<dt><a href="http://download.geofabrik.de/"><%= t'export.start.too_large.geofabrik.title' %></a></dt>
|
||||||
<dd><%= t'export.start.too_large.geofabrik.description' %></dd>
|
<dd><%= t'export.start.too_large.geofabrik.description' %></dd>
|
||||||
|
|
||||||
<dt><a href="http://metro.teczno.com/"><%= t'export.start.too_large.metro.title' %></a></dt>
|
<dt><a href="http://metro.teczno.com/"><%= t'export.start.too_large.metro.title' %></a></dt>
|
||||||
<dd><%= t'export.start.too_large.metro.description' %></dd>
|
<dd><%= t'export.start.too_large.metro.description' %></dd>
|
||||||
|
|
||||||
<dt><a href="http://wiki.openstreetmap.org/wiki/Download"><%= t'export.start.too_large.other.title' %></a></dt>
|
<dt><a href="http://wiki.openstreetmap.org/wiki/Download"><%= t'export.start.too_large.other.title' %></a></dt>
|
||||||
<dd><%= t'export.start.too_large.other.description' %></dd>
|
<dd><%= t'export.start.too_large.other.description' %></dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="export_button inner12">
|
<div class="export_button">
|
||||||
<%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
|
<%= submit_tag t('export.start.export_button'), :id => "export_commit" %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -166,7 +166,7 @@ en:
|
||||||
note: "Edit note"
|
note: "Edit note"
|
||||||
node_details:
|
node_details:
|
||||||
coordinates: "Coordinates:"
|
coordinates: "Coordinates:"
|
||||||
part_of: "Part of:"
|
part_of: "Part of"
|
||||||
node_history:
|
node_history:
|
||||||
node_history: "Node History"
|
node_history: "Node History"
|
||||||
node_history_title: "Node History: %{node_name}"
|
node_history_title: "Node History: %{node_name}"
|
||||||
|
@ -200,8 +200,8 @@ en:
|
||||||
way: "way"
|
way: "way"
|
||||||
relation: "relation"
|
relation: "relation"
|
||||||
relation_details:
|
relation_details:
|
||||||
members: "Members:"
|
members: "Members"
|
||||||
part_of: "Part of:"
|
part_of: "Part of"
|
||||||
relation_history:
|
relation_history:
|
||||||
relation_history: "Relation History"
|
relation_history: "Relation History"
|
||||||
relation_history_title: "Relation History: %{relation_name}"
|
relation_history_title: "Relation History: %{relation_name}"
|
||||||
|
@ -264,8 +264,8 @@ en:
|
||||||
tag: "The wiki description page for the %{key}=%{value} tag"
|
tag: "The wiki description page for the %{key}=%{value} tag"
|
||||||
wikipedia_link: "The %{page} article on Wikipedia"
|
wikipedia_link: "The %{page} article on Wikipedia"
|
||||||
way_details:
|
way_details:
|
||||||
nodes: "Nodes:"
|
nodes: "Nodes"
|
||||||
part_of: "Part of:"
|
part_of: "Part of"
|
||||||
also_part_of:
|
also_part_of:
|
||||||
one: "part of way %{related_ways}"
|
one: "part of way %{related_ways}"
|
||||||
other: "part of ways %{related_ways}"
|
other: "part of ways %{related_ways}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue