From: Tom Hughes Date: Mon, 2 Dec 2013 20:29:34 +0000 (+0000) Subject: Merge remote-tracking branch 'jfirebaugh/legacy-params' X-Git-Tag: live~5327 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/031afed7aae4492a96bdf389ffc504a9955677ad?hp=d95361bcb9d1efccae1da3e295e426dfd44ddd89 Merge remote-tracking branch 'jfirebaugh/legacy-params' --- diff --git a/INSTALL.md b/INSTALL.md index 744f9a155..2f954d106 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -22,12 +22,13 @@ of packages required before you can get the various gems installed. * Postgres 8.3+ * ImageMagick * Bundler +* Javascript Runtime These can be installed on Ubuntu 10.10 or later with: ``` sudo apt-get install ruby1.9.1 libruby1.9.1 ruby1.9.1-dev ri1.9.1 \ - libmagickwand-dev libxml2-dev libxslt1-dev \ + libmagickwand-dev libxml2-dev libxslt1-dev nodejs \ apache2 apache2-threaded-dev build-essential git-core \ postgresql postgresql-contrib libpq-dev postgresql-server-dev-all \ libsasl2-dev @@ -44,7 +45,7 @@ For Fedora, you can install the minimum requirements with: ``` sudo yum install ruby ruby-devel rubygem-rdoc rubygem-bundler rubygems \ - libxml2-devel \ + libxml2-devel js \ gcc gcc-c++ git \ postgresql postgresql-server postgresql-contrib postgresql-devel \ perl-podlators diff --git a/app/views/changeset/list.html.erb b/app/views/changeset/list.html.erb index 68bdf1e23..36ec59379 100644 --- a/app/views/changeset/list.html.erb +++ b/app/views/changeset/list.html.erb @@ -2,10 +2,12 @@
    <%= render :partial => 'changeset', :collection => @edits %>
+<% if @edits.size == 20 -%>
<%= 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;" %>
+<% end -%> <% elsif params[:bbox] %>
<%= t(params[:max_id] ? 'changeset.list.no_more_area' : 'changeset.list.empty_area') %>
<% elsif params[:display_name] %> diff --git a/config/locales/en.yml b/config/locales/en.yml index a1c4e503b..566792320 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2074,16 +2074,7 @@ en: intro: "In order to improve the map the information you enter is shown to other mappers, so please be as descriptive and precise as possible when moving the marker to the correct position and entering your note below." add: Add Note show: - permalink: Permalink anonymous_warning: This note includes comments from anonymous users which should be independently verified. - opened_by: "created by %{user} at %{time}" - opened_by_anonymous: "created by anonymous at %{time}" - commented_by: "comment from %{user} at %{time}" - commented_by_anonymous: "comment from anonymous at %{time}" - closed_by: "resolved by %{user} at %{time}" - closed_by_anonymous: "resolved by anonymous at %{time}" - reopened_by: "reactivated by %{user} at %{time}" - reopened_by_anonymous: "reactivated by anonymous at %{time}" hide: Hide resolve: Resolve reactivate: Reactivate