Improves footer and account page

This commit is contained in:
Alberto Garcia Cabeza
2015-12-16 13:03:23 +01:00
parent 114808745d
commit 52e5cda45e
2 changed files with 13 additions and 13 deletions

View File

@@ -6,9 +6,9 @@
<%= link_to t("account.show.erase_account_link"), users_registrations_delete_form_path, class: "delete" %>
</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| %>
<%= render "shared/errors", resource: @account %>
@@ -98,9 +98,9 @@
<%= t("account.show.verified_account") %>
</p>
<% 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 %>
<%= 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 %>
</span>
</div>

View File

@@ -3,11 +3,11 @@
<div class="row">
<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 %>
</h3>
</h1>
<p>
<p class="info">
<%= t("layouts.footer.description",
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
@@ -19,23 +19,23 @@
<div class="footer-sections small-12 large-8 column">
<div class="small-12 medium-4 column">
<h4>
<h2>
<%= link_to t("layouts.footer.participation_title"), root_path %>
</h4>
</h2>
<p><%= t("layouts.footer.participation_text") %></p>
</div>
<div class="small-12 medium-4 column">
<h4>
<h2>
<%= link_to t("layouts.footer.transparency_title"), t("layouts.footer.transparency_url") %>
</h4>
</h2>
<p><%= t("layouts.footer.transparency_text") %></p>
</div>
<div class="small-12 medium-4 column">
<h4>
<h2>
<%= link_to t("layouts.footer.open_data_title"), "/opendata" %>
</h4>
</h2>
<p><%= t("layouts.footer.open_data_text") %></p>
</div>
</div>