summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
Diffstat (limited to 'web/template')
-rw-r--r--web/template/tu_list.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/template/tu_list.php b/web/template/tu_list.php
index 1f7280a..c2e2d39 100644
--- a/web/template/tu_list.php
+++ b/web/template/tu_list.php
@@ -1,5 +1,12 @@
<div class="box">
<h2><?= $type ?></h2>
+
+ <?php if ($type == __("Current Votes")): ?>
+ <ul class="admin-actions">
+ <li><a href="<?= get_uri('/addvote/'); ?>"><?= __("Add Proposal") ?></a></li>
+ </ul>
+ <?php endif; ?>
+
<table class="results">
<thead>
<tr>