From 7ece2361fe7bec26720f65ab13a3c7f5270c5332 Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Tue, 17 Jun 2008 22:14:50 +0000 Subject: [PATCH] ActionItem445: link to popup_login in account index --- app/views/account/index_anonymous.rhtml | 4 +++- app/views/shared/user_menu.rhtml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/account/index_anonymous.rhtml b/app/views/account/index_anonymous.rhtml index 83f535e..e29802b 100644 --- a/app/views/account/index_anonymous.rhtml +++ b/app/views/account/index_anonymous.rhtml @@ -1,7 +1,9 @@

<%= _('Identify yourself') %>

-<%= link_to _('Login.'), :action => 'login' %> +<%= lightbox_link_to _('Login.'), { :controller => 'account', :action => 'login_popup' }, + :help => _('Click here to enter your username and password and be recognized by the system.') %> + <%= _('You need to login to be able to use all the features in this environment.') %>

diff --git a/app/views/shared/user_menu.rhtml b/app/views/shared/user_menu.rhtml index c912ffe..275d70c 100644 --- a/app/views/shared/user_menu.rhtml +++ b/app/views/shared/user_menu.rhtml @@ -54,7 +54,7 @@ <%= lightbox_link_to ''+ _('Login'), { :controller => 'account', :action => 'login_popup' }, :id => 'link_login', - :help => _('Click here to enter your username and password and be recognized by the system.') %> + :help => _('Click here to enter your username and password and be recognized by the system.') %> <% end %> -- libgit2 0.21.2