Index: app/helpers/watchers_helper.rb =================================================================== --- app/helpers/watchers_helper.rb (Revision 4249) +++ app/helpers/watchers_helper.rb (Arbeitskopie) @@ -41,7 +41,8 @@ link_to_remote((watched ? l(:button_unwatch) : l(:button_watch)), {:url => url}, :href => url_for(url), - :class => (watched ? 'icon icon-fav' : 'icon icon-fav-off')) + :class => (watched ? 'icon icon-fav' : 'icon icon-fav-off'), + :title => (watched ? l(:button_unwatch) : l(:button_watch))) end Index: app/helpers/users_helper.rb =================================================================== --- app/helpers/users_helper.rb (Revision 4249) +++ app/helpers/users_helper.rb (Arbeitskopie) @@ -37,11 +37,11 @@ url = {:controller => 'users', :action => 'update', :id => user, :page => params[:page], :status => params[:status], :tab => nil} if user.locked? - link_to l(:button_unlock), url.merge(:user => {:status => User::STATUS_ACTIVE}), :method => :put, :class => 'icon icon-unlock' + link_to l(:button_unlock), url.merge(:user => {:status => User::STATUS_ACTIVE}), :method => :put, :class => 'icon icon-unlock', :title => l(:button_unlock) elsif user.registered? - link_to l(:button_activate), url.merge(:user => {:status => User::STATUS_ACTIVE}), :method => :put, :class => 'icon icon-unlock' + link_to l(:button_activate), url.merge(:user => {:status => User::STATUS_ACTIVE}), :method => :put, :class => 'icon icon-unlock', :title => l(:button_activate) elsif user != User.current - link_to l(:button_lock), url.merge(:user => {:status => User::STATUS_LOCKED}), :method => :put, :class => 'icon icon-lock' + link_to l(:button_lock), url.merge(:user => {:status => User::STATUS_LOCKED}), :method => :put, :class => 'icon icon-lock', :title => l(:button_lock) end end Index: app/views/workflows/_action_menu.rhtml =================================================================== --- app/views/workflows/_action_menu.rhtml (Revision 4249) +++ app/views/workflows/_action_menu.rhtml (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to l(:button_edit), {:action => 'edit'}, :class => 'icon icon-edit' %> -<%= link_to l(:button_copy), {:action => 'copy'}, :class => 'icon icon-copy' %> -<%= link_to l(:field_summary), {:action => 'index'}, :class => 'icon icon-summary' %> +<%= link_to l(:button_edit), {:action => 'edit'}, :class => 'icon icon-edit', :title => l(:button_edit) %> +<%= link_to l(:button_copy), {:action => 'copy'}, :class => 'icon icon-copy', :title => l(:button_copy) %> +<%= link_to l(:field_summary), {:action => 'index'}, :class => 'icon icon-summary', :title => l(:field_summary) %>
Index: app/views/users/show.rhtml =================================================================== --- app/views/users/show.rhtml (Revision 4249) +++ app/views/users/show.rhtml (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to(l(:button_edit), edit_user_path(@user), :class => 'icon icon-edit') if User.current.admin? %> +<%= link_to(l(:button_edit), edit_user_path(@user), :class => 'icon icon-edit', :title => l(:button_edit)) if User.current.admin? %>

<%= avatar @user, :size => "50" %> <%=h @user.name %>

Index: app/views/users/edit.rhtml =================================================================== --- app/views/users/edit.rhtml (Revision 4249) +++ app/views/users/edit.rhtml (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to l(:label_profile), user_path(@user), :class => 'icon icon-user' %> +<%= link_to l(:label_profile), user_path(@user), :class => 'icon icon-user', :title => l(:label_profile) %> <%= change_status_link(@user) %>
Index: app/views/users/index.rhtml =================================================================== --- app/views/users/index.rhtml (Revision 4249) +++ app/views/users/index.rhtml (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to l(:label_user_new), {:action => 'new'}, :class => 'icon icon-add' %> +<%= link_to l(:label_user_new), {:action => 'new'}, :class => 'icon icon-add', :title => l(:label_user_new) %>

<%=l(:label_user_plural)%>

Index: app/views/auth_sources/index.html.erb =================================================================== --- app/views/auth_sources/index.html.erb (Revision 4249) +++ app/views/auth_sources/index.html.erb (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> +<%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add', :title => l(:label_auth_source_new) %>

<%=l(:label_auth_source_plural)%>

@@ -24,7 +24,7 @@ <%= link_to l(:button_delete), { :action => 'destroy', :id => source }, :method => :post, :confirm => l(:text_are_you_sure), - :class => 'icon icon-del', + :class => 'icon icon-del', :title => l(:button_delete), :disabled => source.users.any? %> Index: app/views/news/index.rhtml =================================================================== --- app/views/news/index.rhtml (Revision 4249) +++ app/views/news/index.rhtml (Arbeitskopie) @@ -2,6 +2,7 @@ <%= link_to_if_authorized(l(:label_news_new), new_project_news_path(@project), :class => 'icon icon-add', + :title => l(:label_news_new), :onclick => 'Element.show("add-news"); Form.Element.focus("news_title"); return false;') if @project %> Index: app/views/trackers/index.html.erb =================================================================== --- app/views/trackers/index.html.erb (Revision 4249) +++ app/views/trackers/index.html.erb (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'icon icon-add' %> +<%= link_to l(:label_tracker_new), {:action => 'new'}, :class => 'icon icon-add', :title => l(:label_tracker_new) %>

<%=l(:label_tracker_plural)%>

Index: app/views/groups/index.html.erb =================================================================== --- app/views/groups/index.html.erb (Revision 4249) +++ app/views/groups/index.html.erb (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %> +<%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add', :title => l(:label_group_new) %>

<%= l(:label_group_plural) %>

Index: app/views/groups/_memberships.html.erb =================================================================== --- app/views/groups/_memberships.html.erb (Revision 4249) +++ app/views/groups/_memberships.html.erb (Arbeitskopie) @@ -26,10 +26,10 @@ <% end %> - <%= link_to_function l(:button_edit), "$('member-#{membership.id}-roles').hide(); $('member-#{membership.id}-roles-form').show(); return false;", :class => 'icon icon-edit' %> + <%= link_to_function l(:button_edit), "$('member-#{membership.id}-roles').hide(); $('member-#{membership.id}-roles-form').show(); return false;", :class => 'icon icon-edit', :title => l(:button_edit) %> <%= link_to_remote l(:button_delete), { :url => { :controller => 'groups', :action => 'destroy_membership', :id => @group, :membership_id => membership }, :method => :post }, - :class => 'icon icon-del' %> + :class => 'icon icon-del', :title => l(:button_delete) %> Index: app/views/groups/_users.html.erb =================================================================== --- app/views/groups/_users.html.erb (Revision 4249) +++ app/views/groups/_users.html.erb (Arbeitskopie) @@ -12,7 +12,7 @@ <%= link_to_remote l(:button_delete), { :url => { :controller => 'groups', :action => 'remove_user', :id => @group, :user_id => user }, :method => :post }, - :class => 'icon icon-del' %> + :class => 'icon icon-del', :title => l(:button_delete) %> <% end %> Index: app/views/issue_statuses/index.html.erb =================================================================== --- app/views/issue_statuses/index.html.erb (Revision 4249) +++ app/views/issue_statuses/index.html.erb (Arbeitskopie) @@ -1,6 +1,6 @@
-<%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'icon icon-add' %> -<%= link_to(l(:label_update_issue_done_ratios), {:action => 'update_issue_done_ratio'}, :class => 'icon icon-multiple', :method => 'post', :confirm => l(:text_are_you_sure)) if Issue.use_status_for_done_ratio? %> +<%= link_to l(:label_issue_status_new), {:action => 'new'}, :class => 'icon icon-add', :title => l(:label_issue_status_new) %> +<%= link_to(l(:label_update_issue_done_ratios), {:action => 'update_issue_done_ratio'}, :class => 'icon icon-multiple', :method => 'post', :confirm => l(:text_are_you_sure), :title => l(:label_update_issue_done_ratios)) if Issue.use_status_for_done_ratio? %>

<%=l(:label_issue_status_plural)%>

@@ -30,7 +30,7 @@ <%= link_to(l(:button_delete), { :action => 'destroy', :id => status }, :method => :post, :confirm => l(:text_are_you_sure), - :class => 'icon icon-del') %> + :class => 'icon icon-del', :title => l(:button_delete)) %> <% end %> Index: app/views/roles/index.html.erb =================================================================== --- app/views/roles/index.html.erb (Revision 4249) +++ app/views/roles/index.html.erb (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to l(:label_role_new), {:action => 'new'}, :class => 'icon icon-add' %> +<%= link_to l(:label_role_new), {:action => 'new'}, :class => 'icon icon-add', :title => l(:label_role_new) %>

<%=l(:label_role_plural)%>

@@ -23,7 +23,7 @@ <%= link_to(l(:button_delete), { :action => 'destroy', :id => role }, :method => :post, :confirm => l(:text_are_you_sure), - :class => 'icon icon-del') unless role.builtin? %> + :class => 'icon icon-del', :title => l(:button_delete)) unless role.builtin? %> <% end %> Index: app/views/repositories/_navigation.rhtml =================================================================== --- app/views/repositories/_navigation.rhtml (Revision 4249) +++ app/views/repositories/_navigation.rhtml (Arbeitskopie) @@ -2,7 +2,7 @@ <%= javascript_include_tag 'repository_navigation' %> <% end %> -<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats' %> +<%= link_to l(:label_statistics), {:action => 'stats', :id => @project}, :class => 'icon icon-stats', :title => l(:label_statistics) %> <% form_tag({:action => controller.action_name, :id => @project, :path => to_path_param(@path), :rev => ''}, {:method => :get, :id => 'revision_selector'}) do -%> Index: app/views/admin/projects.rhtml =================================================================== --- app/views/admin/projects.rhtml (Revision 4249) +++ app/views/admin/projects.rhtml (Arbeitskopie) @@ -1,5 +1,5 @@
-<%= link_to l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add' %> +<%= link_to l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add', :title => l(:label_project_new) %>

<%=l(:label_project_plural)%>

@@ -32,10 +32,10 @@ <%= checked_image project.is_public? %> <%= format_date(project.created_on) %> - <%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project, :status => params[:status] }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-lock') if project.active? %> - <%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project, :status => params[:status] }, :method => :post, :class => 'icon icon-unlock') if !project.active? && (project.parent.nil? || project.parent.active?) %> - <%= link_to(l(:button_copy), { :controller => 'projects', :action => 'copy', :id => project }, :class => 'icon icon-copy') %> - <%= link_to(l(:button_delete), project_destroy_confirm_path(project), :class => 'icon icon-del') %> + <%= link_to(l(:button_archive), { :controller => 'projects', :action => 'archive', :id => project, :status => params[:status] }, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-lock', :title => l(:button_archive)) if project.active? %> + <%= link_to(l(:button_unarchive), { :controller => 'projects', :action => 'unarchive', :id => project, :status => params[:status] }, :method => :post, :class => 'icon icon-unlock', :title => l(:button_unarchive)) if !project.active? && (project.parent.nil? || project.parent.active?) %> + <%= link_to(l(:button_copy), { :controller => 'projects', :action => 'copy', :id => project }, :class => 'icon icon-copy', :title => l(:button_copy)) %> + <%= link_to(l(:button_delete), project_destroy_confirm_path(project), :class => 'icon icon-del', :title => l(:button_delete)) %> <% end %> Index: app/views/projects/show.rhtml =================================================================== --- app/views/projects/show.rhtml (Revision 4249) +++ app/views/projects/show.rhtml (Arbeitskopie) @@ -1,6 +1,6 @@
<% if User.current.allowed_to?(:add_subprojects, @project) %> - <%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'new', :parent_id => @project}, :class => 'icon icon-add' %> + <%= link_to l(:label_subproject_new), {:controller => 'projects', :action => 'new', :parent_id => @project}, :class => 'icon icon-add', :title => l(:label_subproject_new) %> <% end %>
Index: app/views/projects/index.rhtml =================================================================== --- app/views/projects/index.rhtml (Revision 4249) +++ app/views/projects/index.rhtml (Arbeitskopie) @@ -3,7 +3,7 @@ <% end %>
- <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %> + <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add', :title => l(:label_project_new)) + ' |' if User.current.allowed_to?(:add_project, nil, :global => true) %> <%= link_to(l(:label_issue_view_all), { :controller => 'issues' }) + ' |' if User.current.allowed_to?(:view_issues, nil, :global => true) %> <%= link_to(l(:label_overall_spent_time), { :controller => 'time_entries' }) + ' |' if User.current.allowed_to?(:view_time_entries, nil, :global => true) %> <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%> Index: app/views/documents/index.rhtml =================================================================== --- app/views/documents/index.rhtml (Revision 4249) +++ app/views/documents/index.rhtml (Arbeitskopie) @@ -2,6 +2,7 @@ <%= link_to_if_authorized l(:label_document_new), {:controller => 'documents', :action => 'new', :project_id => @project}, :class => 'icon icon-add', + :title => l(:label_document_new), :onclick => 'Element.show("add-document"); Form.Element.focus("document_title"); return false;' %>
Index: app/views/wiki/show.rhtml =================================================================== --- app/views/wiki/show.rhtml (Revision 4249) +++ app/views/wiki/show.rhtml (Arbeitskopie) @@ -1,14 +1,14 @@
<% if @editable %> -<%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit)) if @content.version == @page.content.version %> +<%= link_to_if_authorized(l(:button_edit), {:action => 'edit', :page => @page.title}, :class => 'icon icon-edit', :accesskey => accesskey(:edit), :title => l(:button_edit)) if @content.version == @page.content.version %> <%= watcher_tag(@page, User.current) %> -<%= link_to_if_authorized(l(:button_lock), {:action => 'protect', :page => @page.title, :protected => 1}, :method => :post, :class => 'icon icon-lock') if !@page.protected? %> -<%= link_to_if_authorized(l(:button_unlock), {:action => 'protect', :page => @page.title, :protected => 0}, :method => :post, :class => 'icon icon-unlock') if @page.protected? %> -<%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :page => @page.title}, :class => 'icon icon-move') if @content.version == @page.content.version %> -<%= link_to_if_authorized(l(:button_delete), {:action => 'destroy', :page => @page.title}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del') %> -<%= link_to_if_authorized(l(:button_rollback), {:action => 'edit', :page => @page.title, :version => @content.version }, :class => 'icon icon-cancel') if @content.version < @page.content.version %> +<%= link_to_if_authorized(l(:button_lock), {:action => 'protect', :page => @page.title, :protected => 1}, :method => :post, :class => 'icon icon-lock', :title => l(:button_lock)) if !@page.protected? %> +<%= link_to_if_authorized(l(:button_unlock), {:action => 'protect', :page => @page.title, :protected => 0}, :method => :post, :class => 'icon icon-unlock', :title => l(:button_unlock)) if @page.protected? %> +<%= link_to_if_authorized(l(:button_rename), {:action => 'rename', :page => @page.title}, :class => 'icon icon-move', :title => l(:button_rename)) if @content.version == @page.content.version %> +<%= link_to_if_authorized(l(:button_delete), {:action => 'destroy', :page => @page.title}, :method => :post, :confirm => l(:text_are_you_sure), :class => 'icon icon-del', :title => l(:button_delete)) %> +<%= link_to_if_authorized(l(:button_rollback), {:action => 'edit', :page => @page.title, :version => @content.version }, :class => 'icon icon-cancel', :title => l(:button_rollback)) if @content.version < @page.content.version %> <% end %> -<%= link_to_if_authorized(l(:label_history), {:action => 'history', :page => @page.title}, :class => 'icon icon-history') %> +<%= link_to_if_authorized(l(:label_history), {:action => 'history', :page => @page.title}, :class => 'icon icon-history', :title => l(:label_history)) %>
<%= breadcrumb(@page.ancestors.reverse.collect {|parent| link_to h(parent.pretty_title), {:page => parent.title}}) %> Index: app/views/issues/_action_menu.rhtml =================================================================== --- app/views/issues/_action_menu.rhtml (Revision 4249) +++ app/views/issues/_action_menu.rhtml (Arbeitskopie) @@ -1,10 +1,10 @@
-<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %> -<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue}, :class => 'icon icon-time-add' %> +<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit), :title => l(:button_update)) %> +<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time-add', :title => l(:button_log_time) %> <% replace_watcher ||= 'watcher' %> <%= watcher_tag(@issue, User.current, {:id => replace_watcher, :replace => ['watcher','watcher2']}) %> -<%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %> -<%= link_to_if_authorized l(:button_copy), new_issue_move_path(:id => @issue, :copy_options => {:copy => 't'}), :class => 'icon icon-copy' %> -<%= link_to_if_authorized l(:button_move), new_issue_move_path(:id => @issue), :class => 'icon icon-move' %> -<%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => (@issue.leaf? ? l(:text_are_you_sure) : l(:text_are_you_sure_with_children)), :method => :post, :class => 'icon icon-del' %> +<%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate', :title => l(:button_duplicate) %> +<%= link_to_if_authorized l(:button_copy), new_issue_move_path(:id => @issue, :copy_options => {:copy => 't'}), :class => 'icon icon-copy', :title => l(:button_copy) %> +<%= link_to_if_authorized l(:button_move), new_issue_move_path(:id => @issue), :class => 'icon icon-move', :title => l(:button_move) %> +<%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => (@issue.leaf? ? l(:text_are_you_sure) : l(:text_are_you_sure_with_children)), :method => :post, :class => 'icon icon-del', :title => l(:button_delete) %>