2014-12-22 19:15:38 +01:00
< section id = " main " >
< div class = " page-header " >
< ul >
2015-02-25 17:29:06 +01:00
< li >
2015-08-16 17:04:56 +02:00
< i class = " fa fa-th fa-fw " ></ i >
< ? = $this -> url -> link ( t ( 'Back to the board' ), 'board' , 'show' , array ( 'project_id' => $task [ 'project_id' ]), false , '' , '' , false , $task [ 'swimlane_id' ] != 0 ? 'swimlane-' . $task [ 'swimlane_id' ] : '' ) ?>
2015-02-25 17:29:06 +01:00
</ li >
< li >
< i class = " fa fa-calendar fa-fw " ></ i >
2015-08-16 17:04:56 +02:00
< ? = $this -> url -> link ( t ( 'Back to the calendar' ), 'calendar' , 'show' , array ( 'project_id' => $task [ 'project_id' ])) ?>
2015-02-25 17:29:06 +01:00
</ li >
2015-08-16 17:04:56 +02:00
< ? php if ( $this -> user -> isManager ( $task [ 'project_id' ])) : ?>
< li >
< i class = " fa fa-cog fa-fw " ></ i >
< ? = $this -> url -> link ( t ( 'Project settings' ), 'project' , 'show' , array ( 'project_id' => $task [ 'project_id' ])) ?>
</ li >
< ? php endif ?>
2014-12-22 19:15:38 +01:00
</ ul >
</ div >
< section class = " sidebar-container " id = " task-section " >
2015-01-16 14:23:05 +01:00
< ? = $this -> render ( 'task/sidebar' , array ( 'task' => $task )) ?>
2014-12-22 19:15:38 +01:00
< div class = " sidebar-content " >
< ? = $task_content_for_layout ?>
</ div >
</ section >
</ section >