From 91cdeb88162bd0e4aa61d5793cd4ed3cad85930e Mon Sep 17 00:00:00 2001
From: Gregor Gawol <gawol@ub.uni-leipzig.de>
Date: Wed, 25 Nov 2020 10:31:33 +0100
Subject: [PATCH] refs #17652 [fid_adlr] favorite view remove delete button

---
 .../fid_adlr/templates/myresearch/bulk-action-buttons.phtml  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/themes/fid_adlr/templates/myresearch/bulk-action-buttons.phtml b/themes/fid_adlr/templates/myresearch/bulk-action-buttons.phtml
index f0861ae852d..c0bda818371 100644
--- a/themes/fid_adlr/templates/myresearch/bulk-action-buttons.phtml
+++ b/themes/fid_adlr/templates/myresearch/bulk-action-buttons.phtml
@@ -20,9 +20,10 @@
     <?php $exportOptions = $this->export()->getActiveFormats('bulk'); if (count($exportOptions) > 0): ?>
       <input class="btn btn-default" type="submit" name="export" value="<?=$this->transEsc('Export')?>" title="<?=$this->transEsc('export_selected')?>"/>
     <?php endif; ?>
-    <?php if ((null !== $this->list && $this->list->editAllowed($user)) || null === $this->list && $user): ?>
+      <?php /* refs #17652 remove delete button - GG */ ?>
+    <?php /*if ((null !== $this->list && $this->list->editAllowed($user)) || null === $this->list && $user): ?>
       <input class="btn btn-default" id="<?=$this->idPrefix?>delete_list_items_<?=null !== $this->list ? $this->escapeHtmlAttr($this->list->id) : ''?>" type="submit" name="delete" value="<?=$this->transEsc('Delete')?>" title="<?=$this->transEsc('delete_selected')?>"/>
-    <?php endif; ?>
+    <?php endif;*/ ?>
     <?php if ($this->cart()->isActive()): ?>
       <input class="btn btn-default" id="<?=$this->idPrefix?>updateCart" type="submit" name="add" value="<?=$this->transEsc('Add to Book Bag')?>"/>
     <?php endif; ?>
-- 
GitLab