Commit cbfc06cd authored by Siddharth Sheth's avatar Siddharth Sheth
Browse files

[FIXED]-https://git-t3o.typo3.org/t3o/typo3.org/issues/381 - Added All option...

[FIXED]-https://git-t3o.typo3.org/t3o/typo3.org/issues/381 - Added All option in filteration selectbox
parent 428dc5b7
Pipeline #6567 passed with stages
in 2 minutes and 41 seconds
...@@ -61,13 +61,14 @@ ...@@ -61,13 +61,14 @@
<f:if condition="{settings.templateLayout} == '2'"> <f:if condition="{settings.templateLayout} == '2'">
<f:else> <f:else>
<f:form class="event-filter"> <f:form class="event-filter">
<f:form.select class="custom-select" name="event-filter-neu" additionalAttributes="{onchange: 'location = this.value;'}"> <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:translate key="tx_t3org_layout.events.all_category" extensionName="t3org_layout"/></option>
<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"')}> <f:for each="{categories}" as="category">
{category.title} <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"')}>
</option> {category.title}
</f:for> </option>
</f:form.select> </f:for>
</f:form.select>
</f:form> </f:form>
</f:else> </f:else>
</f:if> </f:if>
......
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
<trans-unit id="tx_t3org_layout.events.skills"> <trans-unit id="tx_t3org_layout.events.skills">
<source>Skills</source> <source>Skills</source>
</trans-unit> </trans-unit>
<trans-unit id="tx_t3org_layout.events.all_category">
<source>All</source>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </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