mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Move "Add Proposal" link to "Current Votes"
The page this links to allows for adding an item to the list of current votes. Move the link accordingly. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
40fd73b668
commit
3130a887e8
2 changed files with 8 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue