aboutsummaryrefslogtreecommitdiffstats
path: root/template/edit-list.html
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-09 23:34:54 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-09 23:34:54 +0200
commit62f0ac114989808ebb84e7728b4b7e9f65d53c0e (patch)
tree52d70e2bbff7c37eaabe625186444e26dd0feadc /template/edit-list.html
parentec17f0ce71a233025768a54b4a1beae34e2b8a45 (diff)
Added delete links.
Diffstat (limited to 'template/edit-list.html')
-rw-r--r--template/edit-list.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/edit-list.html b/template/edit-list.html
index 0a2b5e3..66e5d45 100644
--- a/template/edit-list.html
+++ b/template/edit-list.html
@@ -22,7 +22,10 @@
<hr/>
<div id="content">
- <h1>Edit list <span class="email"><TMPL_VAR NAME=list>@<TMPL_VAR NAME=domain></span></h1>
+ <h1>Edit list <span class="email"><TMPL_VAR NAME=list>@<TMPL_VAR NAME=domain></span><TMPL_IF NAME=canDelete
+ ><span class="action">[<a href="<TMPL_VAR NAME=url>/<TMPL_VAR NAME=domain>/<TMPL_VAR NAME=list>/?a=delete">delete</a>]</span
+ ></TMPL_IF></h1>
+
<TMPL_IF NAME=newChanges>
<TMPL_IF NAME=error>
@@ -39,7 +42,6 @@
<form class="editform" name="editform" method="post" action="?">
<div class="editform">
<input type="hidden" name="a" value="edit" />
- <input type="hidden" name="t" value="list" />
<h4 class="label" id="status">Status</h4>
<select name="isactive">