|
|
|
@ -19,13 +19,21 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
:title => l('timelines.new_timeline'), |
|
|
|
|
:class => 'icon icon-add')) %> |
|
|
|
|
|
|
|
|
|
<%= li_unless_nil(link_to_if_authorized("#{l(:button_edit)} <span class='hidden-for-sighted'> #{h(@timeline.name)}</span>", |
|
|
|
|
{:controller => 'timelines', :action => 'edit', :project_id => @project, :id => @timeline}, |
|
|
|
|
:class => 'icon icon-edit')) %> |
|
|
|
|
|
|
|
|
|
<%= li_unless_nil(link_to_if_authorized("#{l(:button_delete)}<span class='hidden-for-sighted'> #{h(@timeline.name)}</span>", |
|
|
|
|
{:controller => 'timelines', :action => 'confirm_destroy', :project_id => @project, :id => @timeline}, |
|
|
|
|
:class => 'icon icon-del')) %> |
|
|
|
|
<%= li_unless_nil(link_to_if_authorized({ :controller => 'timelines', |
|
|
|
|
:action => 'edit', |
|
|
|
|
:project_id => @project, |
|
|
|
|
:id => @timeline}, |
|
|
|
|
:class => 'icon icon-edit') do %> |
|
|
|
|
<%= l(:button_edit) %><span class='hidden-for-sighted'><%= h(@timeline.name) %></span> |
|
|
|
|
<% end) %> |
|
|
|
|
|
|
|
|
|
<%= li_unless_nil(link_to_if_authorized({ :controller => 'timelines', |
|
|
|
|
:action => 'confirm_destroy', |
|
|
|
|
:project_id => @project, |
|
|
|
|
:id => @timeline}, |
|
|
|
|
:class => 'icon icon-del') do %> |
|
|
|
|
<%= l(:button_delete) %><span class='hidden-for-sighted'><%= h(@timeline.name) %></span> |
|
|
|
|
<% end) %> |
|
|
|
|
<% end %> |
|
|
|
|
|
|
|
|
|
<h2><%= @timeline.name %></h2> |
|
|
|
|