summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-04 21:42:35 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-04 21:42:35 -0500
commit1a75d1118fceb9f36284911fd53bbd360b04a5de (patch)
tree21290680cb887fe111431e658b6a583e747b2692 /app
parent6b5cd3327f380559331f775280a28b5b6dea4d08 (diff)
Move RSS link to the top and open share links with a new tab
Diffstat (limited to 'app')
-rw-r--r--app/Template/project/activity.php7
-rw-r--r--app/Template/project/show.php4
2 files changed, 5 insertions, 6 deletions
diff --git a/app/Template/project/activity.php b/app/Template/project/activity.php
index cdc25df8..7cc69bfe 100644
--- a/app/Template/project/activity.php
+++ b/app/Template/project/activity.php
@@ -4,13 +4,12 @@
<li><i class="fa fa-table fa-fw"></i><?= Helper\a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?></li>
<li><i class="fa fa-search fa-fw"></i><?= Helper\a(t('Search'), 'project', 'search', array('project_id' => $project['id'])) ?></li>
<li><i class="fa fa-check-square-o fa-fw"></i><?= Helper\a(t('Completed tasks'), 'project', 'tasks', array('project_id' => $project['id'])) ?></li>
+ <?php if ($project['is_public']): ?>
+ <li><i class="fa fa-rss-square fa-fw"></i><?= Helper\a(t('RSS feed'), 'project', 'feed', array('token' => $project['token']), false, '', '', true) ?></li>
+ <?php endif ?>
</ul>
</div>
<section>
- <?php if ($project['is_public']): ?>
- <p class="pull-right"><i class="fa fa-rss-square"></i> <?= Helper\a(t('RSS feed'), 'project', 'feed', array('token' => $project['token'])) ?></p>
- <?php endif ?>
-
<?= Helper\template('project/events', array('events' => $events)) ?>
</section>
</section> \ No newline at end of file
diff --git a/app/Template/project/show.php b/app/Template/project/show.php
index 907d1b70..b1b552df 100644
--- a/app/Template/project/show.php
+++ b/app/Template/project/show.php
@@ -9,8 +9,8 @@
<?php endif ?>
<?php if ($project['is_public']): ?>
- <li><i class="fa fa-share-alt"></i> <?= Helper\a(t('Public link'), 'board', 'readonly', array('token' => $project['token'])) ?></li>
- <li><i class="fa fa-rss-square"></i> <?= Helper\a(t('RSS feed'), 'project', 'feed', array('token' => $project['token'])) ?></li>
+ <li><i class="fa fa-share-alt"></i> <?= Helper\a(t('Public link'), 'board', 'readonly', array('token' => $project['token']), false, '', '', true) ?></li>
+ <li><i class="fa fa-rss-square"></i> <?= Helper\a(t('RSS feed'), 'project', 'feed', array('token' => $project['token']), false, '', '', true) ?></li>
<?php else: ?>
<li><?= t('Public access disabled') ?></li>
<?php endif ?>