Update button styles to use -highlight modifier

Analog to core commit:
bd22b35395

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/6827/head
Alex Coles 10 years ago
parent a6ad259a5c
commit be0a0e5aba
  1. 2
      app/views/my_projects_overviews/blocks/_members.html.erb
  2. 2
      app/views/my_projects_overviews/blocks/_news_latest.html.erb
  3. 6
      app/views/my_projects_overviews/blocks/_work_package_tracking.html.erb
  4. 2
      app/views/my_projects_overviews/blocks/_work_packages_assigned_to_me.html.erb
  5. 2
      app/views/my_projects_overviews/blocks/_work_packages_reported_by_me.html.erb
  6. 2
      app/views/my_projects_overviews/blocks/_work_packages_responsible_for.html.erb
  7. 2
      app/views/my_projects_overviews/blocks/_work_packages_watched.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 %>
</p>
</div>

@ -33,7 +33,7 @@ See doc/COPYRIGHT.md for more details.
{:controller => 'news',
:action => 'index',
:project_id => project},
:class => 'button_highlight' %>
:class => 'button -highlight' %>
</p>
</div>
<% end %>

@ -36,12 +36,12 @@ See doc/COPYRIGHT.md for more details.
<% end %>
</ul>
<p>
<%= 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 %>
</p>
</div>

@ -35,7 +35,7 @@ See doc/COPYRIGHT.md for more details.
<p class="small">
<%= 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' %>
</p>
<% end %>

@ -35,7 +35,7 @@ See doc/COPYRIGHT.md for more details.
<p class="small">
<%= 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' %>
</p>
<% end %>

@ -35,7 +35,7 @@ See doc/COPYRIGHT.md for more details.
<p class="small">
<%= link_to l(:label_work_package_view_all_responsible_for),
project_work_packages_responsible_for_path(@project),
:class => 'button_highlight' %>
:class => 'button -highlight' %>
</p>
<% end %>

@ -32,6 +32,6 @@ See doc/COPYRIGHT.md for more details.
<p class="small">
<%= link_to l(:label_work_package_view_all_watched),
project_work_packages_watched_path(@project),
:class => 'button_highlight' %>
:class => 'button -highlight' %>
</p>
<% end %>

Loading…
Cancel
Save