summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/app/notfound.php2
-rw-r--r--app/Template/app/projects.php2
-rw-r--r--app/Template/board/task.php2
-rw-r--r--app/Template/project/sidebar.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/app/notfound.php b/app/Template/app/notfound.php
index 686f1fa0..0419902c 100644
--- a/app/Template/app/notfound.php
+++ b/app/Template/app/notfound.php
@@ -1,5 +1,5 @@
<section id="main">
<p class="alert alert-error">
- <?= t('Sorry, I didn\'t found this information in my database!') ?>
+ <?= t('Sorry, I didn\'t find this information in my database!') ?>
</p>
</section> \ No newline at end of file
diff --git a/app/Template/app/projects.php b/app/Template/app/projects.php
index 1a405210..409697ac 100644
--- a/app/Template/app/projects.php
+++ b/app/Template/app/projects.php
@@ -14,7 +14,7 @@
<?= $this->a('#'.$project['id'], 'board', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link') ?>
</td>
<td>
- <?php if ($this->projectPermission->isManager($project['id'], $this->userSession->getId())): ?>
+ <?php if ($this->isManager($project['id'])): ?>
<?= $this->a('<i class="fa fa-cog"></i>', 'project', 'show', array('project_id' => $project['id']), false, 'dashboard-table-link', t('Settings')) ?>&nbsp;
<?php endif ?>
<?= $this->a($this->e($project['name']), 'board', 'show', array('project_id' => $project['id'])) ?>
diff --git a/app/Template/board/task.php b/app/Template/board/task.php
index 78fabf70..6700b693 100644
--- a/app/Template/board/task.php
+++ b/app/Template/board/task.php
@@ -63,7 +63,7 @@
<?php endif ?>
<div class="task-board-title">
- <?= $this->a($this->e($task['title']), 'task', 'show', array('task_id' => $task['id']), false, '', t('View this task')) ?>
+ <?= $this->a($this->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?>
</div>
<?php endif ?>
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php
index f5d0e352..991a1c73 100644
--- a/app/Template/project/sidebar.php
+++ b/app/Template/project/sidebar.php
@@ -5,7 +5,7 @@
<?= $this->a(t('Summary'), 'project', 'show', array('project_id' => $project['id'])) ?>
</li>
- <?php if ($this->acl->isManagerActionAllowed($project['id'])): ?>
+ <?php if ($this->isManager($project['id'])): ?>
<li>
<?= $this->a(t('Public access'), 'project', 'share', array('project_id' => $project['id'])) ?>
</li>