Bug 32402: Add "Modification date" to OPAC Lists table
This change adds a "Modification date" column to the OPAC Lists table, so that you can see when a list was last modified. Test plan: 1. Apply patch 2. Create a public list and a private list 3. Go to http://localhost:8080/cgi-bin/koha/opac-shelves.pl?op=list&public=1 4. Note that "Modification date" appears in the relevant date format on both the "Your lists" and "Public lists" tabs Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
719b300001
commit
de49b8cd3a
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% USE KohaDates %]
|
||||
[% USE AdditionalContents %]
|
||||
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
|
||||
|
@ -742,6 +743,7 @@
|
|||
<th>List name</th>
|
||||
<th>Contents</th>
|
||||
<th>Type</th>
|
||||
<th>Modification date</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -758,6 +760,7 @@
|
|||
<span>Public</span>
|
||||
[% END %]
|
||||
</td>
|
||||
<td>[% s.lastmodified | $KohaDates %]</td>
|
||||
<td>
|
||||
[% IF s.can_be_managed( loggedinusernumber ) %]
|
||||
<form action="/cgi-bin/koha/opac-shelves.pl" method="get" class="d-inline">
|
||||
|
|
Loading…
Reference in a new issue