Commit 49c7765b3886b50b356810d31e23da8b2bf5cf3c
1 parent
e6328e38
Exists in
colab
and in
2 other branches
Remove unecessary greeting on header
The 'Hello' just felt wrong in the top menu (design stuff). Signed-off-by: Heitor Reis <marcheing@gmail.com>
Showing
3 changed files
with
1 additions
and
3 deletions
Show diff stats
app/views/shared/_navbar.html.erb
| @@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
| 21 | <% if user_signed_in? %> | 21 | <% if user_signed_in? %> |
| 22 | <li class="dropdown"> | 22 | <li class="dropdown"> |
| 23 | <a class="dropdown-toggle" aria-expanded="true" role="button" data-toggle="dropdown" href="#"> | 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 | <span class="caret"></span> | 25 | <span class="caret"></span> |
| 26 | </a> | 26 | </a> |
| 27 | <ul class="dropdown-menu" role="menu"> | 27 | <ul class="dropdown-menu" role="menu"> |
config/locales/views/layouts/en.yml
| 1 | en: | 1 | en: |
| 2 | - hello_html: "Hello, %{user}" | ||
| 3 | instant_loading_page: "Wait an instant while we are loading the page that you have requested." | 2 | instant_loading_page: "Wait an instant while we are loading the page that you have requested." |
| 4 | home: "Home" | 3 | home: "Home" |
| 5 | edit_account: "Edit Account" | 4 | edit_account: "Edit Account" |
config/locales/views/layouts/pt.yml
| 1 | pt: | 1 | pt: |
| 2 | - hello_html: "Olá, %{user}" | ||
| 3 | instant_loading_page: "Espere um instante enquanto estamos carregando a página que você solicitou." | 2 | instant_loading_page: "Espere um instante enquanto estamos carregando a página que você solicitou." |
| 4 | home: "Início" | 3 | home: "Início" |
| 5 | edit_account: "Editar Conta" | 4 | edit_account: "Editar Conta" |