-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] adjust news detail template (#283)
Move date, author and category above headline. Move list link to bottom. Add next/prev behaviour.
- Loading branch information
1 parent
84ab333
commit 5883dc7
Showing
6 changed files
with
235 additions
and
48 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
Resources/Private/Extensions/News/Partials/Category/Items.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- categories --> | ||
<span class="news-list-category" xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"> | ||
<f:for each="{categories}" as="category" iteration="iterator"> | ||
<f:if condition="{category.shortcut}"> | ||
<f:then> | ||
<f:link.page pageUid="{category.shortcut}"> | ||
{category.title}<f:if condition="{iterator.total} > 1 && !{iterator.isLast}">,</f:if> | ||
</f:link.page> | ||
</f:then> | ||
<f:else> | ||
{category.title}<f:if condition="{iterator.total} > 1 && !{iterator.isLast}">,</f:if> | ||
</f:else> | ||
</f:if> | ||
</f:for> | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.