Skip to content

Commit

Permalink
TASK: Add additional "back to list of IDs" button on top of Show
Browse files Browse the repository at this point in the history
When having many entries, a button on top if quite useful.
  • Loading branch information
lorenzulrich committed Jan 7, 2022
1 parent b1d94b7 commit 4608471
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Resources/Private/Templates/DatabaseStorage/Show.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{namespace neos=Neos\Neos\ViewHelpers}
<f:layout name="Default" />

<f:section name="Title">{neos:backend.translate(id: 'storage.databaseStorage')} - {neos:backend.translate(id: 'storage.entriesForX', arguments: {0: identifier})}</f:section>
<f:section name="Title">
<p><f:link.action action="index" class="neos-button">{neos:backend.translate(id: 'storage.backToIdentifiers')}</f:link.action></p>
<div class="neos-row-fluid">
<legend>
{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})}
</legend>
</div>
</f:section>

<f:section name="Content">
<style>
Expand Down

0 comments on commit 4608471

Please sign in to comment.