diff --git a/CHANGELOG.md b/CHANGELOG.md index 0adfd4324..58b797035 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### 4.8.15 +- Styled download global statistics link on homepage + ### 4.8.14 - Added global statistics download - Fixed PAME file downloads diff --git a/Gemfile b/Gemfile index 2de1ed363..4bbbb2f05 100644 --- a/Gemfile +++ b/Gemfile @@ -118,3 +118,5 @@ gem 'comfortable_mexican_sofa', '~> 2.0.0' gem 'nokogiri', '~> 1.10.4' gem 'tinymce-rails', '~> 4.3.2' gem 'phantompdf', '~> 1.2.2' +gem 'bcrypt_pbkdf', '>= 1.0', '< 2.0' +gem 'ed25519', '>= 1.2', '< 2.0' \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index 7115179c9..a2d974c55 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -961,6 +961,7 @@ GEM aws-sigv4 (1.1.0) aws-eventstream (~> 1.0, >= 1.0.2) bcrypt (3.1.13) + bcrypt_pbkdf (1.1.0) best_in_place (3.0.3) actionpack (>= 3.2) railties (>= 3.2) @@ -1042,6 +1043,7 @@ GEM dotenv (0.11.1) dotenv-deployment (~> 0.0.2) dotenv-deployment (0.0.2) + ed25519 (1.3.0) ejs (1.1.1) elasticsearch (7.2.1) elasticsearch-api (= 7.2.1) @@ -1317,6 +1319,7 @@ DEPENDENCIES autoprefixer-rails awesome_print aws-sdk (= 3.0.1) + bcrypt_pbkdf (>= 1.0, < 2.0) best_in_place (~> 3.0.1) bourbon byebug (~> 9.0, >= 9.0.5) @@ -1339,6 +1342,7 @@ DEPENDENCIES devise (~> 4.7.1) dotenv (~> 0.11.1) dotenv-deployment + ed25519 (>= 1.2, < 2.0) ejs elasticsearch (~> 7.2.0) exception_notification (~> 4.3.0) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index fc08755db..c8d836c99 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -7,8 +7,10 @@
<%= render partial: "partials/cards/facts", locals: { cards: @site_facts } %> -

Statistics updated: <%= @update_date %>

- <%= link_to('Download latest global statistics', global_statistics_download_path) %> +

+ Statistics updated: <%= @update_date %> + <%= link_to('Download latest global statistics', global_statistics_download_path, { class: "margin-space--left" }) %> +

<%= render partial: "partials/search/protected-areas", locals: { config: @config_search_areas } %>