]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/list.html.erb
Don't show http-only routers to users on https
[rails.git] / app / views / changeset / list.html.erb
index 68bdf1e23fcc7a3cc2f08d0027c8d6c556ebf54d..36ec593793f85f0327edd7d2133748e36f2bcbbc 100644 (file)
@@ -2,10 +2,12 @@
   <ol class="changesets">
     <%= render :partial => 'changeset', :collection => @edits %>
   </ol>
+<% if @edits.size == 20 -%>
   <div class="changeset_more">
     <%= link_to t('changeset.list.load_more'), url_for(params.merge(:max_id => @edits.last.id - 1)), :class => "button load_more" %>
     <%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
   </div>
+<% end -%>
 <% elsif params[:bbox] %>
   <div class="inner22"><%= t(params[:max_id] ? 'changeset.list.no_more_area' : 'changeset.list.empty_area') %></div>
 <% elsif params[:display_name] %>