Show project name in task forms
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('New task') ?></h2>
|
||||
<h2><?= $this->text->e($project['name']) ?> > <?= t('New task') ?></h2>
|
||||
</div>
|
||||
|
||||
<form class="popover-form" method="post" action="<?= $this->url->href('TaskCreationController', 'save', array('project_id' => $values['project_id'])) ?>" autocomplete="off">
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('New task') ?></h2>
|
||||
<h2><?= $this->text->e($project['name']) ?> > <?= t('New task') ?></h2>
|
||||
</div>
|
||||
<form method="post" action="<?= $this->url->href('TaskGanttCreationController', 'save', array('project_id' => $values['project_id'])) ?>" autocomplete="off">
|
||||
<form class="popover-form" method="post" action="<?= $this->url->href('TaskGanttCreationController', 'save', array('project_id' => $values['project_id'])) ?>" autocomplete="off">
|
||||
<?= $this->form->csrf() ?>
|
||||
<?= $this->form->hidden('project_id', $values) ?>
|
||||
<?= $this->form->hidden('column_id', $values) ?>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="page-header">
|
||||
<h2><?= t('Edit a task') ?></h2>
|
||||
<h2><?= $this->text->e($project['name']) ?> > <?= $this->text->e($task['title']) ?></h2>
|
||||
</div>
|
||||
<form class="popover-form" method="post" action="<?= $this->url->href('TaskModificationController', 'update', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" autocomplete="off">
|
||||
<?= $this->form->csrf() ?>
|
||||
|
||||
Reference in New Issue
Block a user