Skip to content
Snippets Groups Projects
Commit 54630824 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[TASK] Improve readabiliy of the backend list view

parent 9d00dcc3
No related branches found
No related tags found
1 merge request!19Release 5.0.0
This commit is part of merge request !19. Comments created here will be created in the context of that merge request.
......@@ -226,57 +226,46 @@
</span>
</be:link.editRecord>
</td>
<f:if condition="{route.crdate} != 0">
<f:then>
<td>
<f:translate key="backend.crdate"/>
:
<f:format.date format="d.m.Y - H:i:s">{route.crdate}
</f:format.date>
</td>
</f:then>
<f:else>
<f:comment>
<!--Output the tstamp here, in case we don't have a crdate for this record
(this is possible for older records, that were created before the bugfix was implemented,
which fixed the missing crdate when creating a new record).-->
</f:comment>
<td>
<f:translate key="backend.crdate"/>
:
<f:format.date format="d.m.Y - H:i:s">{route.tstamp}
</f:format.date>
</td>
</f:else>
</f:if>
<f:if condition="{route.lastHit} != 0">
<f:then>
<td>
<f:translate key="backend.last_hit"/>
:
<td>
<f:comment>
<!--Output the tstamp here, in case we don't have a crdate for this record
(this is possible for older records, that were created before the bugfix was implemented,
which fixed the missing crdate when creating a new record).-->
</f:comment>
{f:translate(key: "backend.crdate")}:
<f:format.date format="d.m.Y - H:i:s">
<f:if condition="{route.crdate} != 0">
<f:then>{route.crdate}</f:then>
<f:else>{route.tstamp}</f:else>
</f:if>
</f:format.date>
<br>
{f:translate(key: "backend.last_hit")}:
<f:if condition="{route.lastHit} != 0">
<f:then>
<f:format.date format="d.m.Y - H:i:s">{route.lastHit}
</f:format.date>
</td>
</f:then>
<f:else>
<td>
<f:translate key="backend.last_hit"/>
: -
</td>
</f:else>
</f:if>
<f:if condition="{route.hits} == 1">
<f:then>
<td>{route.hits}
</f:then>
<f:else>
-
</f:else>
</f:if>
<br>
{route.hits}
<f:if condition="{route.hits} == 1">
<f:then>
<f:translate key="backend.hit"/>
</td>
</f:then>
<f:else>
<td>{route.hits}
</f:then>
<f:else>
<f:translate key="backend.hits"/>
</td>
</f:else>
</f:if>
</f:else>
</f:if>
</td>
<td>
<f:variable name="confirmText"
value="{f:translate(key: 'backend.reset_hits.confirm')}"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment