diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-02-05 14:39:29 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-02-05 14:39:58 -0800 |
commit | 65d4f051cbf089a24bb86381d45b0f3d42c679b0 (patch) | |
tree | 0b12dbe48322e16ab06f4fb2f36600b509adc056 /app/Template/feed | |
parent | f269f4e398837bd8ce6f0c16313b13575f002dfc (diff) |
Remove unnecessary anchor from feed entry link
Diffstat (limited to 'app/Template/feed')
-rw-r--r-- | app/Template/feed/project.php | 2 | ||||
-rw-r--r-- | app/Template/feed/user.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/feed/project.php b/app/Template/feed/project.php index 5bf4264e..7c87823f 100644 --- a/app/Template/feed/project.php +++ b/app/Template/feed/project.php @@ -9,7 +9,7 @@ <?php foreach ($events as $event): ?> <entry> <id><?= $this->url->href('TaskViewController', 'show', ['task_id' => $event['task_id']], false, 'event-'.$event['id'], true) ?></id> - <link rel="alternate" type="text/html" href="<?= $this->url->href('TaskViewController', 'show', ['task_id' => $event['task_id']], false, 'event-'.$event['id'], true) ?>"/> + <link rel="alternate" type="text/html" href="<?= $this->url->href('TaskViewController', 'show', ['task_id' => $event['task_id']], false, '', true) ?>"/> <updated><?= date(DATE_ATOM, $event['date_creation']) ?></updated> <published><?= date(DATE_ATOM, $event['date_creation']) ?></published> <author> diff --git a/app/Template/feed/user.php b/app/Template/feed/user.php index 7d3c596a..6ecd42a8 100644 --- a/app/Template/feed/user.php +++ b/app/Template/feed/user.php @@ -9,7 +9,7 @@ <?php foreach ($events as $event): ?> <entry> <id><?= $this->url->href('TaskViewController', 'show', ['task_id' => $event['task_id']], false, 'event-'.$event['id'], true) ?></id> - <link rel="alternate" type="text/html" href="<?= $this->url->href('TaskViewController', 'show', ['task_id' => $event['task_id']], false, 'event-'.$event['id'], true) ?>"/> + <link rel="alternate" type="text/html" href="<?= $this->url->href('TaskViewController', 'show', ['task_id' => $event['task_id']], false, '', true) ?>"/> <updated><?= date(DATE_ATOM, $event['date_creation']) ?></updated> <published><?= date(DATE_ATOM, $event['date_creation']) ?></published> <author> |