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.
master
Joey Hess 2011-07-11 21:38:48 -04:00
parent d23786cb6c
commit 20577d8ecb
2 changed files with 2 additions and 2 deletions

2
debian/changelog vendored
View File

@ -2,6 +2,8 @@ ikiwiki (3.20110712) UNRELEASED; urgency=low
* attachment: Bugfix to create directory when moving attachment out of
holding area.
* Display attachment manipulation links always, since attachments can be
uploaded via javascript.
-- Joey Hess <joeyh@debian.org> Mon, 11 Jul 2011 21:35:20 -0400

View File

@ -62,9 +62,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>