From be0a0e5aba39c23019d2c28ff9514f1a8322bb03 Mon Sep 17 00:00:00 2001 From: Alex Coles Date: Fri, 9 Jan 2015 15:46:15 +0100 Subject: [PATCH] Update button styles to use -highlight modifier Analog to core commit: https://github.com/opf/openproject/commit/bd22b35395a373cfdcb57d35e89d8eb244f349d4 Signed-off-by: Alex Coles --- app/views/my_projects_overviews/blocks/_members.html.erb | 2 +- .../my_projects_overviews/blocks/_news_latest.html.erb | 2 +- .../blocks/_work_package_tracking.html.erb | 6 +++--- .../blocks/_work_packages_assigned_to_me.html.erb | 2 +- .../blocks/_work_packages_reported_by_me.html.erb | 2 +- .../blocks/_work_packages_responsible_for.html.erb | 2 +- .../blocks/_work_packages_watched.html.erb | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/my_projects_overviews/blocks/_members.html.erb b/app/views/my_projects_overviews/blocks/_members.html.erb index 0ace53d06c..85bdc1e25d 100644 --- a/app/views/my_projects_overviews/blocks/_members.html.erb +++ b/app/views/my_projects_overviews/blocks/_members.html.erb @@ -37,7 +37,7 @@ See doc/COPYRIGHT.md for more details. <%= link_to(l(:'project_page.all'), { :controller => 'my_projects_overviews', :action => 'show_all_members', :id => project.id }, - :class => "all button_highlight" ) %> + :class => "all button -highlight" ) %> <% end %>

diff --git a/app/views/my_projects_overviews/blocks/_news_latest.html.erb b/app/views/my_projects_overviews/blocks/_news_latest.html.erb index 018f27d97c..377a8df32a 100644 --- a/app/views/my_projects_overviews/blocks/_news_latest.html.erb +++ b/app/views/my_projects_overviews/blocks/_news_latest.html.erb @@ -33,7 +33,7 @@ See doc/COPYRIGHT.md for more details. {:controller => 'news', :action => 'index', :project_id => project}, - :class => 'button_highlight' %> + :class => 'button -highlight' %>

<% end %> diff --git a/app/views/my_projects_overviews/blocks/_work_package_tracking.html.erb b/app/views/my_projects_overviews/blocks/_work_package_tracking.html.erb index 0586e4b67e..180657ceaa 100644 --- a/app/views/my_projects_overviews/blocks/_work_package_tracking.html.erb +++ b/app/views/my_projects_overviews/blocks/_work_package_tracking.html.erb @@ -36,12 +36,12 @@ See doc/COPYRIGHT.md for more details. <% end %>

- <%= link_to l(:label_work_package_view_all), {:controller => '/work_packages', :action => 'index', :project_id => project}, :class => 'button_highlight' %> + <%= link_to l(:label_work_package_view_all), {:controller => '/work_packages', :action => 'index', :project_id => project}, :class => 'button -highlight' %> <% if User.current.allowed_to?(:view_calendar, project, :global => true) %> - <%= link_to(l(:label_calendar), {:controller => '/work_packages/calendars', :action => 'index', :project_id => project}, :class => 'button_highlight') %> + <%= link_to(l(:label_calendar), {:controller => '/work_packages/calendars', :action => 'index', :project_id => project}, :class => 'button -highlight') %> <% end %> <% if User.current.allowed_to?(:view_gantt, project, :global => true) %> - <%= link_to(l(:label_gantt), {:controller => '/gantts', :action => 'show', :project_id => project}, :class => 'button_highlight') %> + <%= link_to(l(:label_gantt), {:controller => '/gantts', :action => 'show', :project_id => project}, :class => 'button -highlight') %> <% end %>

diff --git a/app/views/my_projects_overviews/blocks/_work_packages_assigned_to_me.html.erb b/app/views/my_projects_overviews/blocks/_work_packages_assigned_to_me.html.erb index ccbc74f92a..3755a84ede 100644 --- a/app/views/my_projects_overviews/blocks/_work_packages_assigned_to_me.html.erb +++ b/app/views/my_projects_overviews/blocks/_work_packages_assigned_to_me.html.erb @@ -35,7 +35,7 @@ See doc/COPYRIGHT.md for more details.

<%= link_to l(:label_work_package_view_all_assigned_to_me), project_work_packages_assigned_to_me_path(@project), - :class => 'button_highlight' %> + :class => 'button -highlight' %>

<% end %> diff --git a/app/views/my_projects_overviews/blocks/_work_packages_reported_by_me.html.erb b/app/views/my_projects_overviews/blocks/_work_packages_reported_by_me.html.erb index d04279bb49..d16d614540 100644 --- a/app/views/my_projects_overviews/blocks/_work_packages_reported_by_me.html.erb +++ b/app/views/my_projects_overviews/blocks/_work_packages_reported_by_me.html.erb @@ -35,7 +35,7 @@ See doc/COPYRIGHT.md for more details.

<%= link_to l(:label_work_package_view_all_reported_by_me), project_work_packages_reported_by_me_path(@project), - :class => 'button_highlight' %> + :class => 'button -highlight' %>

<% end %> diff --git a/app/views/my_projects_overviews/blocks/_work_packages_responsible_for.html.erb b/app/views/my_projects_overviews/blocks/_work_packages_responsible_for.html.erb index f3f9a81588..68eaae8b18 100644 --- a/app/views/my_projects_overviews/blocks/_work_packages_responsible_for.html.erb +++ b/app/views/my_projects_overviews/blocks/_work_packages_responsible_for.html.erb @@ -35,7 +35,7 @@ See doc/COPYRIGHT.md for more details.

<%= link_to l(:label_work_package_view_all_responsible_for), project_work_packages_responsible_for_path(@project), - :class => 'button_highlight' %> + :class => 'button -highlight' %>

<% end %> diff --git a/app/views/my_projects_overviews/blocks/_work_packages_watched.html.erb b/app/views/my_projects_overviews/blocks/_work_packages_watched.html.erb index 7c810cfcef..588948014d 100644 --- a/app/views/my_projects_overviews/blocks/_work_packages_watched.html.erb +++ b/app/views/my_projects_overviews/blocks/_work_packages_watched.html.erb @@ -32,6 +32,6 @@ See doc/COPYRIGHT.md for more details.

<%= link_to l(:label_work_package_view_all_watched), project_work_packages_watched_path(@project), - :class => 'button_highlight' %> + :class => 'button -highlight' %>

<% end %>