Bug 34478: Remove 'Delete' link for news on the homepage
This should not be a link but a POST instead. Simply removing it for now, we will reintroduce it later if there is a need for that. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
c95e81aef5
commit
c7b576ad7e
1 changed files with 0 additions and 1 deletions
|
@ -37,7 +37,6 @@
|
||||||
<p class="newsfooter"> Posted on [% koha_new.published_on | $KohaDates %][% IF( show_author && koha_new.author ) %] by <span class="newsauthor">[% INCLUDE 'patron-title.inc' patron=koha_new.author %]<br />[% END %]
|
<p class="newsfooter"> Posted on [% koha_new.published_on | $KohaDates %][% IF( show_author && koha_new.author ) %] by <span class="newsauthor">[% INCLUDE 'patron-title.inc' patron=koha_new.author %]<br />[% END %]
|
||||||
[% IF ( CAN_user_tools_edit_additional_contents ) %]
|
[% IF ( CAN_user_tools_edit_additional_contents ) %]
|
||||||
<a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&id=[% koha_new.additional_content_id | uri %]">Edit</a>
|
<a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form&id=[% koha_new.additional_content_id | uri %]">Edit</a>
|
||||||
| <a class="news_delete" href="/cgi-bin/koha/tools/additional-contents.pl?op=delete_confirmed&ids=[% koha_new.additional_content_id | html %]&csrf_token=[% csrf_token | uri %]">Delete</a>
|
|
||||||
| <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form">New</a>
|
| <a href="/cgi-bin/koha/tools/additional-contents.pl?op=add_form">New</a>
|
||||||
[% END %]
|
[% END %]
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue