gantt link added in left menu and removed from calendar view
git-svn-id: http://redmine.rubyforge.org/svn/trunk@73 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2c335dbf32
commit
ab88b27622
@ -38,6 +38,7 @@ var menu_contenu=' \
|
|||||||
<% unless @project.nil? || @project.id.nil? %> \
|
<% unless @project.nil? || @project.id.nil? %> \
|
||||||
<div id="menuProject" class="menu" onmouseover="menuMouseover(event)"> \
|
<div id="menuProject" class="menu" onmouseover="menuMouseover(event)"> \
|
||||||
<%= link_to l(:label_calendar), {:controller => 'projects', :action => 'calendar', :id => @project }, :class => "menuItem" %> \
|
<%= link_to l(:label_calendar), {:controller => 'projects', :action => 'calendar', :id => @project }, :class => "menuItem" %> \
|
||||||
|
<%= link_to l(:label_gantt), {:controller => 'projects', :action => 'gantt', :id => @project }, :class => "menuItem" %> \
|
||||||
<%= link_to l(:label_issue_plural), {:controller => 'projects', :action => 'list_issues', :id => @project }, :class => "menuItem" %> \
|
<%= link_to l(:label_issue_plural), {:controller => 'projects', :action => 'list_issues', :id => @project }, :class => "menuItem" %> \
|
||||||
<%= link_to l(:label_report_plural), {:controller => 'reports', :action => 'issue_report', :id => @project }, :class => "menuItem" %> \
|
<%= link_to l(:label_report_plural), {:controller => 'reports', :action => 'issue_report', :id => @project }, :class => "menuItem" %> \
|
||||||
<%= link_to l(:label_activity), {:controller => 'projects', :action => 'activity', :id => @project }, :class => "menuItem" %> \
|
<%= link_to l(:label_activity), {:controller => 'projects', :action => 'activity', :id => @project }, :class => "menuItem" %> \
|
||||||
@ -103,6 +104,7 @@ var menu_contenu=' \
|
|||||||
<ul class="menublock">
|
<ul class="menublock">
|
||||||
<li><%= link_to l(:label_overview), :controller => 'projects', :action => 'show', :id => @project %></li>
|
<li><%= link_to l(:label_overview), :controller => 'projects', :action => 'show', :id => @project %></li>
|
||||||
<li><%= link_to l(:label_calendar), :controller => 'projects', :action => 'calendar', :id => @project %></li>
|
<li><%= link_to l(:label_calendar), :controller => 'projects', :action => 'calendar', :id => @project %></li>
|
||||||
|
<li><%= link_to l(:label_gantt), :controller => 'projects', :action => 'gantt', :id => @project %></li>
|
||||||
<li><%= link_to l(:label_issue_plural), :controller => 'projects', :action => 'list_issues', :id => @project %></li>
|
<li><%= link_to l(:label_issue_plural), :controller => 'projects', :action => 'list_issues', :id => @project %></li>
|
||||||
<li><%= link_to l(:label_report_plural), :controller => 'reports', :action => 'issue_report', :id => @project %></li>
|
<li><%= link_to l(:label_report_plural), :controller => 'reports', :action => 'issue_report', :id => @project %></li>
|
||||||
<li><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => @project %></li>
|
<li><%= link_to l(:label_activity), :controller => 'projects', :action => 'activity', :id => @project %></li>
|
||||||
|
@ -2,16 +2,24 @@
|
|||||||
|
|
||||||
<table width="100%">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="left">
|
<td align="left" width="150">
|
||||||
|
<%= link_to_remote ('« ' + (@month==1 ? "#{month_name(12)} #{@year-1}" : "#{month_name(@month-1)}")),
|
||||||
|
{:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }},
|
||||||
|
{:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))}
|
||||||
|
%>
|
||||||
|
</td>
|
||||||
|
<td align="center">
|
||||||
<%= start_form_tag :action => 'calendar', :id => @project %>
|
<%= start_form_tag :action => 'calendar', :id => @project %>
|
||||||
<%= select_month(@month, :prefix => "month", :discard_type => true) %>
|
<%= select_month(@month, :prefix => "month", :discard_type => true) %>
|
||||||
<%= select_year(@year, :prefix => "year", :discard_type => true) %>
|
<%= select_year(@year, :prefix => "year", :discard_type => true) %>
|
||||||
<%= submit_tag l(:button_submit), :class => "button-small" %>
|
<%= submit_tag l(:button_submit), :class => "button-small" %>
|
||||||
<%= end_form_tag %>
|
<%= end_form_tag %>
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right" width="150">
|
||||||
<%= image_tag 'gantt' %>
|
<%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' »'),
|
||||||
<%= link_to l(:label_gantt_chart), :action => 'gantt', :id => @project %>
|
{:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }},
|
||||||
|
{:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))}
|
||||||
|
%>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -52,23 +60,6 @@ end %>
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<table width="100%">
|
|
||||||
<tr>
|
|
||||||
<td align="left">
|
|
||||||
<%= link_to_remote ('« ' + (@month==1 ? "#{month_name(12)} #{@year-1}" : "#{month_name(@month-1)}")),
|
|
||||||
{:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }},
|
|
||||||
{:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))}
|
|
||||||
%>
|
|
||||||
</td>
|
|
||||||
<td align="right">
|
|
||||||
<%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' »'),
|
|
||||||
{:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }},
|
|
||||||
{:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))}
|
|
||||||
%>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<br />
|
<br />
|
||||||
<%= image_tag 'arrow_from' %> <%= l(:text_tip_task_begin_day) %><br />
|
<%= image_tag 'arrow_from' %> <%= l(:text_tip_task_begin_day) %><br />
|
||||||
<%= image_tag 'arrow_to' %> <%= l(:text_tip_task_end_day) %><br />
|
<%= image_tag 'arrow_to' %> <%= l(:text_tip_task_end_day) %><br />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<h2><%= l(:label_gantt_chart) %></h2>
|
<h2><%= l(:label_gantt) %></h2>
|
||||||
<div class="topright">
|
<div class="topright">
|
||||||
<small>
|
<small>
|
||||||
<%= l(:label_export_to) %> <%= link_to 'PDF', :zoom => @zoom, :year => @year_from, :month => @month_from, :months => @months, :output => 'pdf' %>
|
<%= l(:label_export_to) %> <%= link_to 'PDF', :zoom => @zoom, :year => @year_from, :month => @month_from, :months => @months, :output => 'pdf' %>
|
||||||
|
@ -254,7 +254,7 @@ label_add_note: Eine Anmerkung addieren
|
|||||||
label_per_page: Pro Seite
|
label_per_page: Pro Seite
|
||||||
label_calendar: Kalender
|
label_calendar: Kalender
|
||||||
label_months_from: Monate von
|
label_months_from: Monate von
|
||||||
label_gantt_chart: Gantt Diagramm
|
label_gantt: Gantt
|
||||||
label_internal: Intern
|
label_internal: Intern
|
||||||
label_last_changes: %d änderungen des Letzten
|
label_last_changes: %d änderungen des Letzten
|
||||||
label_change_view_all: Alle änderungen ansehen
|
label_change_view_all: Alle änderungen ansehen
|
||||||
|
@ -254,7 +254,7 @@ label_add_note: Add a note
|
|||||||
label_per_page: Per page
|
label_per_page: Per page
|
||||||
label_calendar: Calendar
|
label_calendar: Calendar
|
||||||
label_months_from: months from
|
label_months_from: months from
|
||||||
label_gantt_chart: Gantt chart
|
label_gantt: Gantt
|
||||||
label_internal: Internal
|
label_internal: Internal
|
||||||
label_last_changes: last %d changes
|
label_last_changes: last %d changes
|
||||||
label_change_view_all: View all changes
|
label_change_view_all: View all changes
|
||||||
|
@ -254,7 +254,7 @@ label_add_note: Agregar una nota
|
|||||||
label_per_page: Por la página
|
label_per_page: Por la página
|
||||||
label_calendar: Calendario
|
label_calendar: Calendario
|
||||||
label_months_from: meses de
|
label_months_from: meses de
|
||||||
label_gantt_chart: Diagrama de Gantt
|
label_gantt: Gantt
|
||||||
label_internal: Interno
|
label_internal: Interno
|
||||||
label_last_changes: %d cambios del último
|
label_last_changes: %d cambios del último
|
||||||
label_change_view_all: Ver todos los cambios
|
label_change_view_all: Ver todos los cambios
|
||||||
|
@ -255,7 +255,7 @@ label_add_note: Ajouter une note
|
|||||||
label_per_page: Par page
|
label_per_page: Par page
|
||||||
label_calendar: Calendrier
|
label_calendar: Calendrier
|
||||||
label_months_from: mois depuis
|
label_months_from: mois depuis
|
||||||
label_gantt_chart: Diagramme de Gantt
|
label_gantt: Gantt
|
||||||
label_internal: Interne
|
label_internal: Interne
|
||||||
label_last_changes: %d derniers changements
|
label_last_changes: %d derniers changements
|
||||||
label_change_view_all: Voir tous les changements
|
label_change_view_all: Voir tous les changements
|
||||||
|
Loading…
x
Reference in New Issue
Block a user