From 19b0ef3f4600e131ada7cc6a834095da43d8f67f Mon Sep 17 00:00:00 2001 From: sergio Date: Thu, 16 Jun 2022 17:24:10 +0100 Subject: [PATCH] feat: moved download link to same line as latest update --- app/views/home/index.html.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 } %>