Project

General

Profile

Feature #1157 » new_planning_breadcumbs-r2088.diff

Patch against r2088. - Mischa The Evil, 2008-12-05 20:26

View differences:

app/helpers/issues_helper.rb (working copy)
"<strong>#{@cached_label_priority}</strong>: #{issue.priority.name}"
end
def render_planning_breadcrumb
links = []
links << link_to(l(:label_project_all), {:project_id => nil})
links << link_to(h(@project), {:project_id => @project}) if @project
breadcrumb links
end
def sidebar_queries
unless @sidebar_queries
# User can see public queries and his own queries
app/views/issues/calendar.rhtml (working copy)
<% form_tag({}, :id => 'query_form') do %>
<% if @query.new_record? %>
<h2><%= l(:label_calendar) %></h2>
<%= render_planning_breadcrumb %>
<fieldset id="filters"><legend><%= l(:label_filter_plural) %></legend>
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</fieldset>
app/views/issues/gantt.rhtml (working copy)
<% form_tag(params.merge(:month => nil, :year => nil, :months => nil), :id => 'query_form') do %>
<% if @query.new_record? %>
<h2><%=l(:label_gantt)%></h2>
<%= render_planning_breadcrumb %>
<fieldset id="filters"><legend><%= l(:label_filter_plural) %></legend>
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</fieldset>
app/views/projects/index.rhtml (working copy)
<div class="contextual">
<%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'add'}, :class => 'icon icon-add') + ' |' if User.current.admin? %>
<%= link_to l(:label_issue_view_all), { :controller => 'issues' } %> |
<%= link_to l(:label_overall_activity), { :controller => 'projects', :action => 'activity' }%>
<%= link_to l(:label_global_issues), { :controller => 'issues' } %> |
<%= link_to l(:label_global_timelog), { :controller => 'timelog', :action => 'details' } %> |
<%= link_to l(:label_global_activity), { :controller => 'projects', :action => 'activity' }%>
</div>
<h2><%=l(:label_project_plural)%></h2>
lang/en.yml (working copy)
label_generate_key: Generate a key
label_issue_watchers: Watchers
label_example: Example
label_global_issues: Global issues
label_global_timelog: Global timelog
label_global_activity: Global activity
button_login: Login
button_submit: Submit
(1-1/2)