add view submission link
authorKurund Jalmi <kurundjalmi@thirdsectordesign.org>
Tue, 12 Sep 2023 13:36:00 +0000 (14:36 +0100)
committerKurund Jalmi <kurundjalmi@thirdsectordesign.org>
Wed, 6 Dec 2023 00:23:33 +0000 (00:23 +0000)
ext/afform/admin/managed/FormSubmissionSavedSearch.mgd.php

index 7c20ad3f7d146af4f0b2135636361f6ba3ccc7f2..2a69737dc32a6c164c90c07edb16826568508a45 100644 (file)
@@ -104,6 +104,18 @@ return [
             [
               'size' => 'btn-xs',
               'links' => [
+                [
+                  'entity' => 'AfformSubmission',
+                  'action' => 'view',
+                  'join' => '',
+                  'target' => 'crm-popup',
+                  'icon' => 'fa-external-link',
+                  'text' => E::ts('View'),
+                  'style' => 'default',
+                  'path' => '',
+                  'task' => '',
+                  'condition' => [],
+                ],
                 [
                   'path' => '',
                   'icon' => 'fa-check-square-o',