summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/project_view/share.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/project_view/share.php b/app/Template/project_view/share.php
index 87c63916..15e1d7ca 100644
--- a/app/Template/project_view/share.php
+++ b/app/Template/project_view/share.php
@@ -2,6 +2,7 @@
<h2><?= t('Public access') ?></h2>
</div>
+
<?php if ($project['is_public']): ?>
<div class="panel">
@@ -14,5 +15,6 @@
<?= $this->url->link(t('Disable public access'), 'ProjectViewController', 'updateSharing', array('project_id' => $project['id'], 'switch' => 'disable'), true, 'btn btn-red') ?>
<?php else: ?>
+ <p class="alert alert-info"><?= t('This feature enable the iCal feed, RSS feed and the public board view.') ?></p>
<?= $this->url->link(t('Enable public access'), 'ProjectViewController', 'updateSharing', array('project_id' => $project['id'], 'switch' => 'enable'), true, 'btn btn-blue') ?>
<?php endif ?>