Commit 6628ac64 authored by Stefan Busemann's avatar Stefan Busemann
Browse files

Merge branch '381-should-be-able-to-select-all-events-in-select-box-of-event-picker' into 'develop'

Resolve "Should be able to select "all events" in select box of event picker"

Closes #381

See merge request t3o/typo3.org!273
parents 428dc5b7 cbfc06cd
Pipeline #6632 passed with stages
in 2 minutes and 39 seconds
......@@ -61,13 +61,14 @@
<f:if condition="{settings.templateLayout} == '2'">
<f:else>
<f:form class="event-filter">
<f:form.select class="custom-select" name="event-filter-neu" additionalAttributes="{onchange: 'location = this.value;'}">
<f:for each="{categories}" as="category">
<option value="{f:uri.action(action: 'List', controller: 'Event', arguments: '{overwriteDemand:{category: category}}')}" {f:if(condition: '{overwriteDemand.category} == {category.uid}', then: 'class="active" selected="selected"')}>
{category.title}
</option>
</f:for>
</f:form.select>
<f:form.select class="custom-select" name="event-filter-neu" additionalAttributes="{onchange: 'location = this.value;'}">
<option value="{f:uri.action(action: 'List', controller: 'Event', arguments: '{overwriteDemand:{category: category}}')}"><f:translate key="tx_t3org_layout.events.all_category" extensionName="t3org_layout"/></option>
<f:for each="{categories}" as="category">
<option value="{f:uri.action(action: 'List', controller: 'Event', arguments: '{overwriteDemand:{category: category}}')}" {f:if(condition: '{overwriteDemand.category} == {category.uid}', then: 'class="active" selected="selected"')}>
{category.title}
</option>
</f:for>
</f:form.select>
</f:form>
</f:else>
</f:if>
......
......@@ -5,6 +5,9 @@
<trans-unit id="tx_t3org_layout.events.skills">
<source>Skills</source>
</trans-unit>
<trans-unit id="tx_t3org_layout.events.all_category">
<source>All</source>
</trans-unit>
</body>
</file>
</xliff>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment