summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-11-16 13:09:46 -0800
committerFrederic Guillot <fred@kanboard.net>2017-11-16 13:52:01 -0800
commit9f3486f7481ea5f7ecd9de724549c168072dd046 (patch)
tree0212429171008da4708d87148b5897ef0043250c /app/Template
parentda28bb45a7b6627a2bd6f1bef6b83b9412b3dff5 (diff)
Add help message on project sharing page
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 ?>