summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-18 21:16:25 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-18 21:16:25 -0400
commit73bae9bb3425089babea5f2effe172e5a0938e2b (patch)
tree1c120b40de0434be3184b4083a8d5164748444f1 /app/Template/task
parent854457baf0043b51ce9c30f36a6fecaed97cb04d (diff)
Rename controller TaskLink to TaskInternalLink
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/dropdown.php2
-rw-r--r--app/Template/task/layout.php2
-rw-r--r--app/Template/task/menu.php2
-rw-r--r--app/Template/task/public.php2
-rw-r--r--app/Template/task/show.php2
-rw-r--r--app/Template/task/sidebar.php2
6 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/task/dropdown.php b/app/Template/task/dropdown.php
index 3300ccf0..f98f5172 100644
--- a/app/Template/task/dropdown.php
+++ b/app/Template/task/dropdown.php
@@ -21,7 +21,7 @@
</li>
<li>
<i class="fa fa-code-fork fa-fw"></i>
- <?= $this->url->link(t('Add internal link'), 'tasklink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
+ <?= $this->url->link(t('Add internal link'), 'TaskInternalLink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
</li>
<li>
<i class="fa fa-external-link fa-fw"></i>
diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php
index b588384c..48360664 100644
--- a/app/Template/task/layout.php
+++ b/app/Template/task/layout.php
@@ -24,7 +24,7 @@
class="sidebar-container" id="task-view"
data-edit-url="<?= $this->url->href('taskmodification', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
data-subtask-url="<?= $this->url->href('subtask', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
- data-internal-link-url="<?= $this->url->href('tasklink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
+ data-internal-link-url="<?= $this->url->href('TaskInternalLink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"
data-comment-url="<?= $this->url->href('comment', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>">
<?= $this->render($sidebar_template, array('task' => $task)) ?>
diff --git a/app/Template/task/menu.php b/app/Template/task/menu.php
index cddd930a..fe30d06e 100644
--- a/app/Template/task/menu.php
+++ b/app/Template/task/menu.php
@@ -26,7 +26,7 @@
</li>
<li>
<i class="fa fa-code-fork fa-fw"></i>
- <?= $this->url->link(t('Add internal link'), 'tasklink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
+ <?= $this->url->link(t('Add internal link'), 'TaskInternalLink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
</li>
<li>
<i class="fa fa-external-link fa-fw"></i>
diff --git a/app/Template/task/public.php b/app/Template/task/public.php
index 723882c3..94782163 100644
--- a/app/Template/task/public.php
+++ b/app/Template/task/public.php
@@ -13,7 +13,7 @@
'editable' => false
)) ?>
- <?= $this->render('tasklink/show', array(
+ <?= $this->render('task_internal_link/show', array(
'task' => $task,
'links' => $links,
'project' => $project,
diff --git a/app/Template/task/show.php b/app/Template/task/show.php
index 98221bcf..d68f6c48 100644
--- a/app/Template/task/show.php
+++ b/app/Template/task/show.php
@@ -19,7 +19,7 @@
)) ?>
<?= $this->hook->render('template:task:show:before-internal-links', array('task' => $task, 'project' => $project)) ?>
-<?= $this->render('tasklink/show', array(
+<?= $this->render('task_internal_link/show', array(
'task' => $task,
'links' => $internal_links,
'project' => $project,
diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php
index 955b17c4..ee3b1594 100644
--- a/app/Template/task/sidebar.php
+++ b/app/Template/task/sidebar.php
@@ -44,7 +44,7 @@
</li>
<li>
<i class="fa fa-code-fork fa-fw"></i>
- <?= $this->url->link(t('Add internal link'), 'tasklink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
+ <?= $this->url->link(t('Add internal link'), 'TaskInternalLink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?>
</li>
<li>
<i class="fa fa-external-link fa-fw"></i>