summaryrefslogtreecommitdiff
path: root/.templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-07-11 21:38:48 -0400
committerThomas Schwinge <thomas@schwinge.name>2014-03-09 19:29:38 +0100
commit43a3e7e5a316c063ee2ec671a9df312b7798b377 (patch)
tree47541d023fbe6d9f06bac99112f8014f2eff9f55 /.templates
parentc033aed1c05231bad75841824803af38c6bbb3a6 (diff)
Display attachment manipulation links always, since attachments can be uploaded via javascript.
Could arrange for them to be in a span that is hidden when there are no attachments and make the javascript upload unhide it; this is a quick fix. (cherry picked from commit 20577d8ecb18f7954a97800cb9b9dca981d2b53e)
Diffstat (limited to '.templates')
-rw-r--r--.templates/editpage.tmpl2
1 files changed, 0 insertions, 2 deletions
diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl
index ed12b98f..0dd86c10 100644
--- a/.templates/editpage.tmpl
+++ b/.templates/editpage.tmpl
@@ -80,9 +80,7 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget
</div>
<TMPL_VAR FIELD-ATTACHMENT>
<noscript><TMPL_VAR FIELD-UPLOAD></noscript>
-<TMPL_IF NAME="ATTACHMENT_LIST">
<TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE>
-</TMPL_IF>
</div>
</div>
</TMPL_IF>