Remove list styling from various sidebar lists
This commit is contained in:
parent
8bf704ba84
commit
e22b9c35f5
5 changed files with 7 additions and 7 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
<% unless node.ways.empty? and node.containing_relation_members.empty? %>
|
||||
<h4><%= t "browse.part_of" %></h4>
|
||||
<ul>
|
||||
<ul class="list-unstyled">
|
||||
<% node.ways.uniq.each do |way| %>
|
||||
<li><%= link_to printable_name(way), { :action => "way", :id => way.id.to_s }, { :class => link_class("way", way), :title => link_title(way) } %></li>
|
||||
<% end %>
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
|
||||
<% unless relation.containing_relation_members.empty? %>
|
||||
<h4><%= t "browse.part_of" %></h4>
|
||||
<ul><%= render :partial => "containing_relation", :collection => relation.containing_relation_members.uniq %></ul>
|
||||
<ul class="list-unstyled"><%= render :partial => "containing_relation", :collection => relation.containing_relation_members.uniq %></ul>
|
||||
<% end %>
|
||||
|
||||
<% unless relation.relation_members.empty? %>
|
||||
<h4><%= t ".members" %></h4>
|
||||
<ul><%= render :partial => "relation_member", :collection => relation.relation_members %></ul>
|
||||
<ul class="list-unstyled"><%= render :partial => "relation_member", :collection => relation.relation_members %></ul>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
@ -12,14 +12,14 @@
|
|||
|
||||
<% unless way.containing_relation_members.empty? %>
|
||||
<h4><%= t "browse.part_of" %></h4>
|
||||
<ul>
|
||||
<ul class="list-unstyled">
|
||||
<%= render :partial => "containing_relation", :collection => way.containing_relation_members.uniq %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<% unless way.way_nodes.empty? %>
|
||||
<h4><%= t ".nodes" %></h4>
|
||||
<ul>
|
||||
<ul class="list-unstyled">
|
||||
<% way.way_nodes.each do |wn| %>
|
||||
<li>
|
||||
<%= link_to printable_name(wn.node), { :action => "node", :id => wn.node_id.to_s }, { :class => link_class("node", wn.node), :title => link_title(wn.node), :rel => link_follow(wn.node) } %>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<% if @comments.length > 0 %>
|
||||
<div class='changeset-comments'>
|
||||
<form action="#">
|
||||
<ul>
|
||||
<ul class="list-unstyled">
|
||||
<% @comments.each do |comment| %>
|
||||
<% if comment.visible %>
|
||||
<li id="c<%= comment.id %>">
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<% if @note_comments.length > 1 %>
|
||||
<div class='note-comments'>
|
||||
<ul>
|
||||
<ul class="list-unstyled">
|
||||
<% @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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue