Skip to content

Commit

Permalink
[!!!][TASK] Remove obsolete sidebar headline (#66)
Browse files Browse the repository at this point in the history
The sidebar headline does not deliver any benefit. The user has the option
to use the title of the content element to add a headline to the sidebar if
nessesary, in general this has no real usecase since only the headlines
of the widgets are relevant.

Releases: master
  • Loading branch information
benjaminkott authored Apr 29, 2019
1 parent 1b4303d commit 7fac00a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions Resources/Private/Language/locallang.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
<trans-unit id="headline.tags" xml:space="preserve">
<source>Tags</source>
</trans-unit>
<trans-unit id="headline.sidebar" xml:space="preserve">
<source>Sidebar</source>
</trans-unit>
<trans-unit id="headline.rssfeed" xml:space="preserve">
<source>RSS-Feeds</source>
</trans-unit>
Expand Down
3 changes: 1 addition & 2 deletions Resources/Private/Templates/Post/Sidebar.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<f:layout name="Default" />

<f:section name="content">
<h2><f:translate key="headline.sidebar"/></h2>
<f:for each="{settings.sidebarWidgets}" as="widget">
<f:cObject typoscriptObjectPath="{widget}" />
</f:for>
</f:section>
</f:section>

0 comments on commit 7fac00a

Please sign in to comment.