float: right;
}
-/* Rules for the changeset list shown by the history tab etc */
+/* Rules for the changeset list shown by the history tab */
+#sidebar .changesets {
+ li {
+ padding: $lineheight;
+ border-bottom: $keyline;
+ }
+
+ p {
+ padding: 0;
+ }
+}
/* Rules for the data browser */
end
%>
-<%= content_tag "ul", :class => 'changeset_item', :id => "changeset_#{changeset.id}", :data => {:changeset => changeset_data} do %>
- <li>
+<%= content_tag "li", :id => "changeset_#{changeset.id}", :data => {:changeset => changeset_data} do %>
+ <%= link_to(changeset.id, changeset_path(changeset.id), :class => :changeset_id) %>
- <span class="changeset_id">
- <%=
- link_to(changeset.id,
- {:controller => 'browse', :action => 'changeset', :id => changeset.id},
- {:title => t('changeset.changeset.view_changeset_details')})
- %>
- </span>
+ <span class='date'>
+ <% if changeset.closed_at > DateTime.now %>
+ <%= t 'changeset.changeset.still_editing' %>
+ <% else %>
+ <%= l changeset.closed_at, :format => :long %>
+ <% end %>
+ </span>
- <span class='date'>
- <% if changeset.closed_at > DateTime.now %> <%= t'changeset.changeset.still_editing' %>
- <% else %><%= l changeset.closed_at, :format => :long %><% end %>
+ <% unless params.key?(:display_name) %>
+ <span class="user">
+ <% if changeset.user.data_public? %>
+ <%= link_to changeset.user.display_name, user_path(changeset.user.display_name) %>
+ <% else %>
+ <i><%= t 'changeset.changeset.anonymous' %></i>
+ <% end %>
</span>
+ <% end %>
- <%if showusername %>
- <span class="user">
- <% if changeset.user.data_public? %>
- <%= link_to h(changeset.user.display_name), :controller => "changeset", :action => "list", :display_name => changeset.user.display_name %>
- <% else %>
- <i><%= t'changeset.changeset.anonymous' %></i>
- <% end %>
- </span>
- <% end %>
- </li>
-
- <li class="comment deemphasize">
+ <p class="comment deemphasize">
<% if changeset.tags['comment'].to_s != '' %>
<%= linkify(h(changeset.tags['comment'])) %>
<% else %>
- <%= t'changeset.changeset.no_comment' %>
+ <%= t 'changeset.changeset.no_comment' %>
<% end %>
- </li>
-
+ </p>
<% end %>
+++ /dev/null
-<ul class='secondary-actions pager clearfix'>
- <% if @page > 1 %>
- <li><%= link_to t('changeset.changeset_paging_nav.previous'), params.merge({ :page => @page - 1 }) %></li>
- <% else %>
- <li><%= t('changeset.changeset_paging_nav.previous') %></li>
- <% end %>
-
- <li><%= t('changeset.changeset_paging_nav.showing_page', :page => @page) %></li>
-
- <% if @edits.size < @page_size %>
- <li><%= t('changeset.changeset_paging_nav.next') %></li>
- <% else %>
- <li><%= link_to t('changeset.changeset_paging_nav.next'), params.merge({ :page => @page + 1 }) %></li>
- <% end %>
-</ul>
\ No newline at end of file
+++ /dev/null
-<% showusername = true if showusername.nil? %>
-<div id="changeset_list">
- <%= render :partial => 'changeset', :locals => {:showusername => showusername}, :collection => @edits unless @edits.nil? %>
-</div>
<h2><%= @heading %></h2>
<% if @edits.size > 0 %>
- <%= render :partial => 'changesets', :locals => { :showusername => !params.has_key?(:display_name) } %>
- <%= render :partial => 'changeset_paging_nav' %>
+ <ol class="changesets">
+ <%= render :partial => 'changeset',
+ :collection => @edits %>
+ </ol>
+
+ <div class="search_more">
+ <div class="inner12 search_results_entry">
+ <%= link_to t('geocoder.results.more_results'), '#', :class => "button" %>
+ </div>
+ <%= image_tag "searching.gif", :class => ["search_searching", "hidden"] %>
+ </div>
<% elsif @user and @user.display_name == params[:display_name] %>
<h4><%= t('changeset.list.empty_user_html') %></h4>
<% else %>
<li id="view_tab">
<%= link_to t('layouts.view'), root_path, :class => 'tab geolink llz layers' %>
</li><li id="history_tab">
- <%= link_to t('layouts.history'), browse_changesets_path, :class => 'tab geolink bbox' %>
+ <%= link_to t('layouts.history'), browse_changesets_path, :class => 'tab geolink llz' %>
</li><li id="export_tab">
<%= link_to t('layouts.export'), export_path, :class => 'tab geolink llz' %>
</li><li id="edit_tab">