diff --git a/app/views/layouts/_base_header.html.erb b/app/views/layouts/_base_header.html.erb index 516bdaa4e..a2f0cde18 100644 --- a/app/views/layouts/_base_header.html.erb +++ b/app/views/layouts/_base_header.html.erb @@ -8,16 +8,6 @@ <%= content_tag('div', "#{link_to(l(:label_layouts_feedback)+'(' + User.current.count_new_jour.to_s + ')', feedback_path(User.current))}".html_safe, :id => 'loggedas') if User.current.logged? %> <%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %> <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%> - - - - - -
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index 5d142c4f4..0ff079978 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -1,83 +1,71 @@ - -<%= l(:label_welcome_trustie) %> , <%= l(:label_welcome_trustie_description) %> |
+ <%= l(:label_welcome_trustie) %> , <%= l(:label_welcome_trustie_description) %> +
<%= call_hook :view_account_login_top %>
-
- <%= form_tag(signin_path) do %>
- <%= back_url_hidden_field_tag if is_logout? %>
- <% unless User.current.logged? %>
- <%= call_hook :view_account_login_bottom %>
+ <% end %>
+
+ <%= call_hook :view_account_login_bottom %>
- <% if params[:username].present? %>
- <%= javascript_tag "$('#password').focus();" %>
- <% else %>
- <%= javascript_tag "$('#username').focus();" %>
- <% end %>
-
-
-
- <% end %>
+
+ <% if Setting.lost_password? %>
+ <%= link_to l(:label_password_lost), lost_password_path %>
+ <% end %>
+ |
+
+
+
+ |
+
+
<% end %>
-
|
-