From c8caae3142ab4f9687168685e414c813b7516cda Mon Sep 17 00:00:00 2001 From: Christian Ratz Date: Thu, 13 Feb 2014 13:23:42 +0100 Subject: [PATCH] adaptations for new wp form - use new css class for highlight button --- 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 2bf5f110b3..b7b065faa9 100644 --- a/app/views/my_projects_overviews/blocks/_members.html.erb +++ b/app/views/my_projects_overviews/blocks/_members.html.erb @@ -33,7 +33,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" ) %> + :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 757513c868..abb59333ba 100644 --- a/app/views/my_projects_overviews/blocks/_news_latest.html.erb +++ b/app/views/my_projects_overviews/blocks/_news_latest.html.erb @@ -28,7 +28,7 @@ See doc/COPYRIGHT.md for more details. {:controller => 'news', :action => 'index', :project_id => project}, - :class => 'button' %> + :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 d95c442ef2..ee9028d2b4 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 @@ -33,12 +33,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, :set_filter => 1}, :class => 'button' %> + <%= link_to l(:label_work_package_view_all), {:controller => '/work_packages', :action => 'index', :project_id => project, :set_filter => 1}, :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') %> + <%= 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') %> + <%= 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 335fe5ce61..ba38e82726 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 @@ -34,7 +34,7 @@ See doc/COPYRIGHT.md for more details. :set_filter => 1, :assigned_to_id => 'me', :sort => 'priority:desc,updated_at:desc'}, - :class => 'button' %> + :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 198040bff2..603813ad8d 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. :status_id => '*', :author_id => 'me', :sort => 'updated_at:desc'}, - :class => 'button' %> + :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 ab22d83102..f6183f98c4 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 @@ -34,7 +34,7 @@ See doc/COPYRIGHT.md for more details. :set_filter => 1, :responsible_id => 'me', :sort => 'priority:desc,updated_at:desc'}, - :class => 'button' %> + :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 e1026437fd..7d8790fee8 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 @@ -30,6 +30,6 @@ See doc/COPYRIGHT.md for more details. :set_filter => 1, :watcher_id => 'me', :sort => 'updated_on:desc'}, - :class => 'button' %> + :class => 'button_highlight' %>

<% end %>