From 46084713902e1e52eb5c1a68b06302aa27a8c1bb Mon Sep 17 00:00:00 2001 From: Lorenz Ulrich Date: Fri, 7 Jan 2022 23:49:36 +0100 Subject: [PATCH] TASK: Add additional "back to list of IDs" button on top of Show When having many entries, a button on top if quite useful. --- Resources/Private/Templates/DatabaseStorage/Show.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Resources/Private/Templates/DatabaseStorage/Show.html b/Resources/Private/Templates/DatabaseStorage/Show.html index 93a8b95..a923060 100644 --- a/Resources/Private/Templates/DatabaseStorage/Show.html +++ b/Resources/Private/Templates/DatabaseStorage/Show.html @@ -1,7 +1,14 @@ {namespace neos=Neos\Neos\ViewHelpers} -{neos:backend.translate(id: 'storage.databaseStorage')} - {neos:backend.translate(id: 'storage.entriesForX', arguments: {0: identifier})} + +

{neos:backend.translate(id: 'storage.backToIdentifiers')}

+
+ + {neos:backend.translate(id: 'storage.databaseStorage')} - [{f:if(condition: '{entries -> f:count()} > 0', then: '{entries -> f:count()}')}] {neos:backend.translate(id: 'storage.entriesForX', arguments: {0: identifier})} + +
+