diff --git a/app/templates/Standard/index.php b/app/templates/Standard/index.php
index 656932ec..27e6a606 100644
--- a/app/templates/Standard/index.php
+++ b/app/templates/Standard/index.php
@@ -527,6 +527,18 @@ function _column_key($modelsName, $c, $tz=null) {
$args = ['class' => $linkClass];
$isFirstLink = false;
}
+
+ // Output the overview Link
+ print '
';
+ $overview_args = [
+ 'class' => 'row-link-overview',
+ 'escape' => false,
+ ];
+
+ $overviewLabel = 'preview';
+ print $this->Html->link($overviewLabel, ['action' => $a, $entity->id], $overview_args);
+ print '
';
+
// Output the link
if(!empty($readOnlyIcon)) {
print '';
diff --git a/app/templates/element/javascript.php b/app/templates/element/javascript.php
index 6ad827fd..35ce9b0a 100644
--- a/app/templates/element/javascript.php
+++ b/app/templates/element/javascript.php
@@ -170,8 +170,10 @@
$('#bulk-edit-switch').click(function() {
if($("#bulk-edit-switch").is(':checked')) {
$("table.index-table").removeClass('list-mode').addClass('bulk-edit-mode');
+ $(".overview-link-container").hide();
} else {
$("table.index-table").removeClass('bulk-edit-mode').addClass('list-mode');
+ $(".overview-link-container").show();
}
});
diff --git a/app/templates/element/menuAction.php b/app/templates/element/menuAction.php
index 18fa989e..acd60411 100644
--- a/app/templates/element/menuAction.php
+++ b/app/templates/element/menuAction.php
@@ -64,11 +64,7 @@ class="= $actionsMenuClass; ?>">
-
- = $action['icon']; ?>
-
- = $action['icon']; ?>
-
+ ">= $action['icon']; ?>
= $action['label']; ?>
@@ -86,14 +82,13 @@ class="= $actionsMenuClass; ?>">
. $action['onclick']['dg_bd_txt_repl_str'] // dialog body text replacement strings
. '\']);';
?>
-
+
-
- = $action['icon']; ?>
-
- = $action['icon']; ?>
-
+ ">= $action['icon']; ?>
= $action['label']; ?>
diff --git a/app/templates/layout/preview.php b/app/templates/layout/preview.php
new file mode 100644
index 00000000..77714397
--- /dev/null
+++ b/app/templates/layout/preview.php
@@ -0,0 +1,113 @@
+
+
+
+
+
= (!empty($vv_title) ? $vv_title : __('registry.meta.registry')); ?>
+
+
+
+params->controller);
+$action_stripped = preg_replace('/[^a-zA-Z0-9\-_]/', '', $this->params->action);
+$bodyClasses = $controller_stripped . ' ' . $action_stripped;
+
+$redirect_url = $_SERVER["REQUEST_SCHEME"] . '://' . $_SERVER["SERVER_NAME"] . $this->request->here . '/render:norm';
+
+// Load Dependencies
+print $this->Html->script([
+ 'vue/vue-3.2.31.global.prod.js',
+ 'comanage/comanage.js',
+ ]) . PHP_EOL;
+print $this->element('javascript');
+?>
+
+
+
+
+
+
+
+ =
+ // insert the page internal content
+ $this->fetch('content')
+ ?>
+
+
+