From e0662cc7bdaa53d48ab81de3c604674d8c41204e Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 11 Apr 2013 15:48:26 +0400 Subject: [PATCH] #96: added sign_up link to every pages --- app/views/layouts/application.html.haml | 1 + config/locales/en.yml | 2 +- config/locales/ru.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 9f62ca9a2..b6cd5903b 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -38,6 +38,7 @@ .a= link_to t('layout.logout'), destroy_user_session_path, :method => :delete - else .user + .profile= link_to t("layout.devise.shared_links.sign_up"), new_register_request_path .profile= link_to t("layout.devise.shared_links.sign_in"), new_user_session_path .right .both diff --git a/config/locales/en.yml b/config/locales/en.yml index 0eefcfc6f..d3dc8a077 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -87,7 +87,7 @@ en: sessions: sign_in_header: Sign in - sign_up_with: "Sign up with:" + sign_up_with: or sign in with private_users: list: List diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 1b1974b31..13a866e24 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -87,7 +87,7 @@ ru: sessions: sign_in_header: Вход в систему - sign_up_with: "Зарегистрироваться с:" + sign_up_with: или войти с помощью private_users: list: Список