Commit d68ed599 authored by Thomas Löffler's avatar Thomas Löffler
Browse files

[TASK] Last changes to go live

* Changes filter to POST and list action
* Beautifies filter input and table
* Changes label
parent 8f5892e2
......@@ -16,7 +16,7 @@
<label index="tx_t3omembership_domain_model_member.country">country</label>
<label index="tx_t3omembership_domain_model_member.email">email</label>
<label index="tx_t3omembership_domain_model_member.url">url</label>
<label index="tx_t3omembership_domain_model_member.membership">membership</label>
<label index="tx_t3omembership_domain_model_member.membership">Membership</label>
<label index="tx_t3omembership_domain_model_membership">Membership</label>
<label index="tx_t3omembership_domain_model_membership.name">name</label>
<label index="tx_t3omembership_domain_model_membership.logo">logo</label>
......
<form method="GET">
<f:form.textfield name="tx_t3omembership_list[filter]" value="{filterTerm}" />
<f:form action="list" method="POST">
<f:form.textfield id="t3o_membership_filter" name="filter" value="{filterTerm}" />
<f:form.submit value="{f:translate(key:'filter')}" class="bu" />
</form>
\ No newline at end of file
</f:form>
\ No newline at end of file
......@@ -5,19 +5,19 @@
<f:render partial="Member/Filter" arguments="{filterTerm: filter}" />
<f:render partial="Member/Membership" arguments="{members: members, memberships: memberships, filterTerm: filter}" />
<table class="tx_t3omembership" >
<table class="tx_t3omembership featured" >
<tr>
<th><f:translate key="tx_t3omembership_domain_model_member.name" /></th>
<th><f:translate key="tx_t3omembership_domain_model_member.country" /></th>
<th><f:translate key="tx_t3omembership_domain_model_member.membership" /></th>
</tr>
<f:for each="{members}" as="member">
<tr>
<td>{member.name}</td>
<td>{member.country}</td>
<td>{member.membership}</td>
</tr>
<f:cycle values="{0: 'tr-even', 1: 'tr-odd'}" as="cycle">
<tr class="{cycle}">
<td>{member.name}</td>
<td>{member.membership}</td>
</tr>
</f:cycle>
</f:for>
</table>
</f:section>
\ No newline at end of file
Supports Markdown
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