summaryrefslogtreecommitdiff
path: root/app/Templates/project_share.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Templates/project_share.php')
-rw-r--r--app/Templates/project_share.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/Templates/project_share.php b/app/Templates/project_share.php
deleted file mode 100644
index 8edcbbc0..00000000
--- a/app/Templates/project_share.php
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="page-header">
- <h2><?= t('Public access') ?></h2>
-</div>
-
-<?php if ($project['is_public']): ?>
-
- <div class="listing">
- <ul class="no-bullet">
- <li><strong><i class="fa fa-share-alt"></i> <?= Helper\a(t('Public link'), 'board', 'readonly', array('token' => $project['token'])) ?></strong></li>
- <li><strong><i class="fa fa-rss-square"></i> <?= Helper\a(t('RSS feed'), 'project', 'feed', array('token' => $project['token'])) ?></strong></li>
- </ul>
- <input type="text" readonly="readonly" value="<?= Helper\get_current_base_url().Helper\u('board', 'readonly', array('token' => $project['token'])) ?>"/>
- </div>
-
- <?= Helper\a(t('Disable public access'), 'project', 'share', array('project_id' => $project['id'], 'switch' => 'disable'), true, 'btn btn-red') ?>
-
-<?php else: ?>
- <?= Helper\a(t('Enable public access'), 'project', 'share', array('project_id' => $project['id'], 'switch' => 'enable'), true, 'btn btn-blue') ?>
-<?php endif ?>