replace spaces in class attributes used for sorting
This commit is contained in:
parent
f6d9f2b201
commit
1d6e6b680a
|
@ -74,7 +74,7 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr tal:repeat="entry view/sortedDeputies">
|
||||
<td tal:attributes="class string:name sortabledata-${entry/sortname}"><a tal:attributes="href entry/id">
|
||||
<td tal:attributes="class python: 'name sortabledata-%s' % entry.sortname().replace(' ', '-')"><a tal:attributes="href entry/id">
|
||||
<span class="lastname" tal:content="entry/lastname"/>
|
||||
<span class="firstname" tal:content="entry/firstname"/></a></td>
|
||||
<td tal:attributes="class string:polgroup sortabledata-${entry/polgroup/to_object/id}"
|
||||
|
|
Reference in New Issue