editpage: Don't show attachments link when attachments are disabled.
parent
3f1a81c8e5
commit
3da279ddd4
|
@ -2,6 +2,7 @@ ikiwiki (2.55) UNRELEASED; urgency=low
|
|||
|
||||
* prefix_directives enabled in doc wiki, all preprocessor directives
|
||||
converted. (Simon McVittie)
|
||||
* editpage: Don't show attachments link when attachments are disabled.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Mon, 21 Jul 2008 11:35:46 -0400
|
||||
|
||||
|
|
|
@ -62,8 +62,8 @@ Optional comment about this change:<br />
|
|||
</TMPL_IF>
|
||||
<TMPL_VAR FORM-SUBMIT>
|
||||
<TMPL_VAR HELPONFORMATTINGLINK>
|
||||
<a class="toggle" href="#attachments">Attachments</a>
|
||||
<TMPL_IF NAME="FIELD-ATTACHMENT">
|
||||
<a class="toggle" href="#attachments">Attachments</a>
|
||||
<div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments">
|
||||
<table>
|
||||
<tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr>
|
||||
|
|
Loading…
Reference in New Issue