Commit 49c7765b3886b50b356810d31e23da8b2bf5cf3c

Authored by Rafael Reggiani Manzo
1 parent e6328e38
Exists in colab and in 2 other branches master, stable

Remove unecessary greeting on header

The 'Hello' just felt wrong in the top menu (design stuff).

Signed-off-by: Heitor Reis <marcheing@gmail.com>
app/views/shared/_navbar.html.erb
... ... @@ -21,7 +21,7 @@
21 21 <% if user_signed_in? %>
22 22 <li class="dropdown">
23 23 <a class="dropdown-toggle" aria-expanded="true" role="button" data-toggle="dropdown" href="#">
24   - <%= t('hello_html', user: current_user.name) %>
  24 + <%= current_user.name %>
25 25 <span class="caret"></span>
26 26 </a>
27 27 <ul class="dropdown-menu" role="menu">
... ...
config/locales/views/layouts/en.yml
1 1 en:
2   - hello_html: "Hello, %{user}"
3 2 instant_loading_page: "Wait an instant while we are loading the page that you have requested."
4 3 home: "Home"
5 4 edit_account: "Edit Account"
... ...
config/locales/views/layouts/pt.yml
1 1 pt:
2   - hello_html: "Olá, %{user}"
3 2 instant_loading_page: "Espere um instante enquanto estamos carregando a página que você solicitou."
4 3 home: "Início"
5 4 edit_account: "Editar Conta"
... ...