add_shortcut_to_issues.diff

Add a shortcut to the project issue page - Daniel Felix, 2013-05-08 09:59

Download (2.67 KB)

View differences:

app/views/issues/_sidebar.html.erb
3 3
<ul>
4 4
<li><%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %></li>
5 5
<% if @project %>
6
<li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>
6
	<li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>
7
	<% if User.current.allowed_to?(:view_issues, nil, :global => true) %>
8
		<li><%= link_to(l(:label_overall_issues), issues_path) %></li>
9
	<% end %>
7 10
<% end %>
8 11

  
9 12
<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
10
<li><%= link_to l(:label_calendar), _project_calendar_path(@project) %></li>
13
	<li><%= link_to l(:label_calendar), _project_calendar_path(@project) %></li>
11 14
<% end %>
12 15
<% if User.current.allowed_to?(:view_gantt, @project, :global => true) %>
13
<li><%= link_to l(:label_gantt), _project_gantt_path(@project) %></li>
16
	<li><%= link_to l(:label_gantt), _project_gantt_path(@project) %></li>
14 17
<% end %>
15 18
</ul>
16 19

  
config/locales/de.yml
645 645
  label_optional_description: Beschreibung (optional)
646 646
  label_options: Optionen
647 647
  label_overall_activity: Aktivitäten aller Projekte anzeigen
648
  label_overall_issues: Tickets aller Projekte anzeigen
648 649
  label_overall_spent_time: Aufgewendete Zeit aller Projekte anzeigen
649 650
  label_overview: Übersicht
650 651
  label_parent_revision: Vorgänger
config/locales/en-GB.yml
507 507
  label_registered_on: Registered on
508 508
  label_activity: Activity
509 509
  label_overall_activity: Overall activity
510
  label_overall_issues: Overall issues
510 511
  label_user_activity: "%{value}'s activity"
511 512
  label_new: New
512 513
  label_logged_as: Logged in as
config/locales/en.yml
550 550
  label_registered_on: Registered on
551 551
  label_activity: Activity
552 552
  label_overall_activity: Overall activity
553
  label_overall_issues: Overall issues
553 554
  label_user_activity: "%{value}'s activity"
554 555
  label_new: New
555 556
  label_logged_as: Logged in as