summaryrefslogtreecommitdiff
path: root/app/Templates/project_activity.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-11 12:44:22 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-11 12:44:22 +0200
commitc0ac22b7040cb5774544754d10a03dc67a218059 (patch)
treeedeaa0ab36b70f0f20ba5b70a702ef0be53b24e3 /app/Templates/project_activity.php
parent917e6cab7469c408babebde18848824765d551fa (diff)
Update French locales
Diffstat (limited to 'app/Templates/project_activity.php')
-rw-r--r--app/Templates/project_activity.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Templates/project_activity.php b/app/Templates/project_activity.php
index 86e17e7f..ad91f8b8 100644
--- a/app/Templates/project_activity.php
+++ b/app/Templates/project_activity.php
@@ -13,7 +13,9 @@
<p class="alert"><?= t('No activity.') ?></p>
<?php else: ?>
- <p class="pull-right"><i class="fa fa-rss-square"></i> <a href="?controller=project&amp;action=feed&amp;token=<?= $project['token'] ?>" target="_blank"><?= t('RSS feed') ?></a></p>
+ <?php if ($project['is_public']): ?>
+ <p class="pull-right"><i class="fa fa-rss-square"></i> <a href="?controller=project&amp;action=feed&amp;token=<?= $project['token'] ?>" target="_blank"><?= t('RSS feed') ?></a></p>
+ <?php endif ?>
<?php foreach ($events as $event): ?>
<div class="activity-event">