aboutsummaryrefslogtreecommitdiffstats
path: root/template/edit-alias.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-alias.html
parentec17f0ce71a233025768a54b4a1beae34e2b8a45 (diff)
Added delete links.
Diffstat (limited to 'template/edit-alias.html')
-rw-r--r--template/edit-alias.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/edit-alias.html b/template/edit-alias.html
index ef7c553..85e2d5f 100644
--- a/template/edit-alias.html
+++ b/template/edit-alias.html
@@ -22,7 +22,9 @@
<hr/>
<div id="content">
- <h1>Edit alias <span class="email"><TMPL_VAR NAME=alias>@<TMPL_VAR NAME=domain></span></h1>
+ <h1>Edit alias <span class="email"><TMPL_VAR NAME=alias>@<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=alias>/?a=delete">delete</a>]</span
+ ></TMPL_IF></h1>
<TMPL_IF NAME=newChanges>
<TMPL_IF NAME=error>
@@ -39,7 +41,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="alias" />
<h4 class="label" id="status">Status</h4>
<select name="isactive">