Bug 5365: Make more clear how to reopen a basket in a basket group
The "reopen basket" button will be visible but disabled if the basket cannot be reopened. A tooltip is attached to the button to add more information. Note that the export button is still hidden, would it makes sense to display it (visible and active)? Test plan: - Create a basket - Close it - Go to the basket detail view => The reopen button should be displayed and enabled - Attach it to a basket group - Go to the basket detail view => The reopen button should be displayed but disabled Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commitb687c60b27) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit89434a8a8d) Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
This commit is contained in:
parent
30fdc542df
commit
6a4d95c7d1
|
|
@ -147,15 +147,16 @@
|
|||
</div>
|
||||
<!-- End of Modal-->
|
||||
[% ELSE %]
|
||||
[% UNLESS ( grouped ) %]
|
||||
<div id="toolbar" class="btn-toolbar">
|
||||
|
||||
<div class="btn-group"><a href="#" class="btn btn-default btn-sm" id="reopenbutton"><i class="fa fa-refresh"></i> Reopen this basket</a></div>
|
||||
|
||||
[% IF grouped %]
|
||||
<div title="Can not reopen baskets that are part of a basket group." class="btn-group">
|
||||
<div class="btn-group"><a href="#" class="btn btn-default disabled" id="reopenbutton"><i class="fa fa-refresh"></i> Reopen this basket</a></div>
|
||||
</div>
|
||||
[% ELSE %]
|
||||
<div class="btn-group"><a href="#" class="btn btn-default btn-sm" id="reopenbutton"><i class="fa fa-refresh"></i> Reopen this basket</a></div>
|
||||
[% PROCESS csv_export %]
|
||||
|
||||
[% END %]
|
||||
</div>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% END %]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue