Browse page style tweaks
This commit is contained in:
parent
821f949869
commit
baaacfc7c0
6 changed files with 25 additions and 26 deletions
|
@ -643,7 +643,7 @@ nav.secondary {
|
|||
padding: $lineheight $lineheight $lineheight/2;
|
||||
}
|
||||
|
||||
h4 {
|
||||
h4, span.user, span.date {
|
||||
font-weight: normal;
|
||||
color: #666;
|
||||
font-size: 12px;
|
||||
|
@ -1067,7 +1067,7 @@ a.donate {
|
|||
}
|
||||
|
||||
.comment a {
|
||||
font-weight: bold;
|
||||
font-weight: 500;
|
||||
color: #000;
|
||||
}
|
||||
}
|
||||
|
@ -1109,12 +1109,14 @@ a.donate {
|
|||
}
|
||||
|
||||
.browse-tag-list {
|
||||
border: 1px solid #CCC;
|
||||
border-radius: 4px;
|
||||
border-top: 1px solid #ddd;
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-size: 12px;
|
||||
margin-left: -$lineheight;
|
||||
margin-right: -$lineheight;
|
||||
|
||||
li {
|
||||
border-bottom: 1px solid #CCC;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
li:last-child {
|
||||
|
@ -1127,17 +1129,16 @@ a.donate {
|
|||
width: 50%;
|
||||
height: 30px;
|
||||
float: left;
|
||||
padding: 6px 10px;
|
||||
padding: 6px 10px 6px $lineheight;
|
||||
}
|
||||
|
||||
.browse-tag-k {
|
||||
font-weight: 500;
|
||||
background-color: #F6F6F6;
|
||||
border-radius: 4px 0 0 4px;
|
||||
}
|
||||
|
||||
.browse-tag-v {
|
||||
border-left: 1px solid #CCC;
|
||||
border-left: 1px solid #ddd;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
<div class='browse-section common'>
|
||||
<% if common_details.changeset.tags['comment'].present? %>
|
||||
<div style="font-weight: bold; margin-bottom: 5px;">
|
||||
<%= linkify(h(common_details.changeset.tags['comment'])) %>
|
||||
</div>
|
||||
<%= linkify(h(common_details.changeset.tags['comment'])) %>
|
||||
<% else %>
|
||||
<div style="font-weight: bold; margin-bottom: 5px;">(no comment)</div>
|
||||
(no comment)
|
||||
<% end %>
|
||||
<div>
|
||||
<h4>
|
||||
<% if common_details.visible? %>
|
||||
<%= t 'browse.common_details.edited' %>
|
||||
<% else %>
|
||||
|
@ -18,15 +16,15 @@
|
|||
<%= t 'browse.common_details.by' %>
|
||||
<%= link_to h(common_details.changeset.user.display_name), :controller => "user", :action => "view", :display_name => common_details.changeset.user.display_name %>
|
||||
<% end %>
|
||||
</div>
|
||||
</h4>
|
||||
|
||||
<div>
|
||||
<h4>
|
||||
<%= 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>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<%= render :partial => "tag_details", :object => common_details.tags %>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
end
|
||||
%>
|
||||
</p>
|
||||
<span>
|
||||
<h4>
|
||||
<%
|
||||
created_at = distance_of_time_in_words_to_now(@changeset.created_at)
|
||||
closed_at = distance_of_time_in_words_to_now(@changeset.closed_at)
|
||||
|
@ -27,7 +27,7 @@
|
|||
<% if @changeset.user.data_public? %>
|
||||
by <%= link_to h(@changeset.user.display_name), :controller => "user", :action => "view", :display_name => @changeset.user.display_name %>
|
||||
<% end %>
|
||||
</span>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<%=
|
||||
|
@ -71,7 +71,7 @@
|
|||
<% end %>
|
||||
|
||||
<div class='browse-section secondary-actions'>
|
||||
<span><%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
|
||||
<h4><%= link_to(t('browse.changeset.changesetxml'), :controller => "changeset", :action => "read") %>
|
||||
·
|
||||
<%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %></span>
|
||||
<%= link_to(t('browse.changeset.osmchangexml'), :controller => "changeset", :action => "download") %></h4>
|
||||
</div>
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
<%= render :partial => "node_details", :object => @node %>
|
||||
|
||||
<div class='browse-section secondary-actions clearfix'>
|
||||
<span><%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %>
|
||||
<h4><%= link_to(t('browse.node.download_xml'), :controller => "node", :action => "read") %>
|
||||
·
|
||||
<%= link_to(t('browse.node.view_history'), :action => "node_history") %>
|
||||
</span>
|
||||
</h4>
|
||||
</div>
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
<%= render :partial => "way_details", :object => @way %>
|
||||
|
||||
<div class='browse-section secondary-actions clearfix'>
|
||||
<span><%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
|
||||
<h4><%= link_to(t('browse.way.download_xml'), :controller => "way", :action => "read") %>
|
||||
·
|
||||
<%= link_to(t('browse.way.view_history'), :action => "way_history") %>
|
||||
</span>
|
||||
</h4>
|
||||
</div>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
|
||||
</div>
|
||||
<% elsif params[:max_id] %>
|
||||
<p class="inner22"><%= t('changeset.list.no_more') %></p>
|
||||
<h4 class="inner22"><%= t('changeset.list.no_more') %></h4>
|
||||
<% else %>
|
||||
<p class="inner22"><%= t('changeset.list.empty') %></p>
|
||||
<h4 class="inner22"><%= t('changeset.list.empty') %></h4>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue