Skip to content

Commit

Permalink
feat: moved download link to same line as latest update
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomarrocoli committed Jun 16, 2022
1 parent f7530db commit 19b0ef3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@

<section class="container spacer-small--top">
<%= render partial: "partials/cards/facts", locals: { cards: @site_facts } %>
<p class="p-larger no-margin--top"><span class="bold">Statistics updated: </span><%= @update_date %></p>
<%= link_to('Download latest global statistics', global_statistics_download_path) %>
<p class="p-larger no-margin--top">
<span class="bold">Statistics updated: </span><%= @update_date %>
<%= link_to('Download latest global statistics', global_statistics_download_path, { class: "margin-space--left" }) %>
</p>
</section>

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

0 comments on commit 19b0ef3

Please sign in to comment.