Unverified Commit e1040a5c authored by IKEDA Soji's avatar IKEDA Soji Committed by GitHub
Browse files

Merge pull request #628 from ldidry/fix-622 by ldidry

Fix message_header and message_footer links not showing in editfile page
parents 77ef6bcf 7d46b44e
......@@ -71,18 +71,18 @@
<br />
[% END %]
[% item1 = 'message.footer'
item2 = 'message.header' %]
[% item1 = 'message_footer'
item2 = 'message_header' %]
[% IF files.$item1 || files.$item2 %]
<h3>[%|loc%]Added in distributed messages[%END%]</h3>
[% IF files.$item1 %]
<a href="[% 'editfile' | url_rel([list,'message.footer',previous_action]) %]" class="MainMenuLinks">[%|loc%]Edit[%END%]</a>
<a href="[% 'editfile' | url_rel([list,'message_footer',previous_action]) %]" class="MainMenuLinks">[%|loc%]Edit[%END%]</a>
[%|loc%]Message footer: If this file is not empty, it is added as a MIME attachment at the end of each message distributed to the list.[%END%]
<br />
[% END %]
[% IF files.$item2 %]
<a href="[% 'editfile' | url_rel([list,'message.header',previous_action]) %]" class="MainMenuLinks">[%|loc%]Edit[%END%]</a>
<a href="[% 'editfile' | url_rel([list,'message_header',previous_action]) %]" class="MainMenuLinks">[%|loc%]Edit[%END%]</a>
[%|loc%]Message header: If this file is not empty, it is added as a MIME attachment at the beginning of each message distributed to the list.[%END%]
<br />
[% END %]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment