Improves footer and account page
This commit is contained in:
@@ -6,9 +6,9 @@
|
|||||||
<%= link_to t("account.show.erase_account_link"), users_registrations_delete_form_path, class: "delete" %>
|
<%= link_to t("account.show.erase_account_link"), users_registrations_delete_form_path, class: "delete" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= avatar_image(@account, seed: @account.id, size: 60) %>
|
<%= avatar_image(@account, seed: @account.id, size: 100, class: "margin-bottom") %>
|
||||||
|
|
||||||
<h1 class="inline-block avatar"><%= t("account.show.title") %></h1>
|
<h1 class="inline-block"><%= t("account.show.title") %></h1>
|
||||||
|
|
||||||
<%= form_for @account, as: :account, url: account_path do |f| %>
|
<%= form_for @account, as: :account, url: account_path do |f| %>
|
||||||
<%= render "shared/errors", resource: @account %>
|
<%= render "shared/errors", resource: @account %>
|
||||||
@@ -98,9 +98,9 @@
|
|||||||
<%= t("account.show.verified_account") %>
|
<%= t("account.show.verified_account") %>
|
||||||
</p>
|
</p>
|
||||||
<% elsif current_user.level_two_verified? %>
|
<% elsif current_user.level_two_verified? %>
|
||||||
<%= link_to t("account.show.finish_verification"), verification_path, class: "button radius small success" %>
|
<%= link_to t("account.show.finish_verification"), verification_path, class: "button radius success" %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= link_to t("account.show.verify_my_account"), verification_path, class: "button radius small success" %>
|
<%= link_to t("account.show.verify_my_account"), verification_path, class: "button radius success" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,11 +3,11 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="small-12 large-4 column">
|
<div class="small-12 large-4 column">
|
||||||
<h3 class="logo">
|
<h1 class="logo">
|
||||||
<%= link_to t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %>
|
<%= link_to t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %>
|
||||||
</h3>
|
</h1>
|
||||||
|
|
||||||
<p>
|
<p class="info">
|
||||||
<%= t("layouts.footer.description",
|
<%= t("layouts.footer.description",
|
||||||
open_source: link_to(t("layouts.footer.open_source"), t("layouts.footer.open_source_url"), target: "blank"),
|
open_source: link_to(t("layouts.footer.open_source"), t("layouts.footer.open_source_url"), target: "blank"),
|
||||||
consul: link_to(t("layouts.footer.consul"), t("layouts.footer.consul_url"), target: "blank")).html_safe
|
consul: link_to(t("layouts.footer.consul"), t("layouts.footer.consul_url"), target: "blank")).html_safe
|
||||||
@@ -19,23 +19,23 @@
|
|||||||
|
|
||||||
<div class="footer-sections small-12 large-8 column">
|
<div class="footer-sections small-12 large-8 column">
|
||||||
<div class="small-12 medium-4 column">
|
<div class="small-12 medium-4 column">
|
||||||
<h4>
|
<h2>
|
||||||
<%= link_to t("layouts.footer.participation_title"), root_path %>
|
<%= link_to t("layouts.footer.participation_title"), root_path %>
|
||||||
</h4>
|
</h2>
|
||||||
<p><%= t("layouts.footer.participation_text") %></p>
|
<p><%= t("layouts.footer.participation_text") %></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="small-12 medium-4 column">
|
<div class="small-12 medium-4 column">
|
||||||
<h4>
|
<h2>
|
||||||
<%= link_to t("layouts.footer.transparency_title"), t("layouts.footer.transparency_url") %>
|
<%= link_to t("layouts.footer.transparency_title"), t("layouts.footer.transparency_url") %>
|
||||||
</h4>
|
</h2>
|
||||||
<p><%= t("layouts.footer.transparency_text") %></p>
|
<p><%= t("layouts.footer.transparency_text") %></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="small-12 medium-4 column">
|
<div class="small-12 medium-4 column">
|
||||||
<h4>
|
<h2>
|
||||||
<%= link_to t("layouts.footer.open_data_title"), "/opendata" %>
|
<%= link_to t("layouts.footer.open_data_title"), "/opendata" %>
|
||||||
</h4>
|
</h2>
|
||||||
<p><%= t("layouts.footer.open_data_text") %></p>
|
<p><%= t("layouts.footer.open_data_text") %></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user