Skip to content

Commit

Permalink
We don't need even/odd classes on actual css
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodbare committed Apr 24, 2014
1 parent e6c536e commit 08e6787
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions plone/app/portlets/portlets/actions.pt
Expand Up @@ -17,12 +17,8 @@

<ul class="portletContent">
<tal:loop tal:repeat="link view/actionLinks">
<li class="portletItem odd"
tal:define="odd_class python:repeat['link'].even() and 'odd' or 'even';
first_class python:repeat['link'].start and 'first' or '';
last_class python:repeat['link'].end and 'last' or '';
icon nocall:link/icon"
tal:attributes="class string:portletItem ${odd_class} ${first_class} ${last_class};">
<li class="portletItem"
tal:define="icon nocall:link/icon">
<a href="#"
tal:define="modal link/modal|nothing"
tal:attributes="href link/url;
Expand Down

0 comments on commit 08e6787

Please sign in to comment.