changeset 2333:00e30a24cd9f

Concise code as per comment @8a92619
author sharky93 <rishabhr123@gmail.com>
date Thu, 18 Jul 2013 14:03:36 +0530
parents 1e83a7aad10e
children cdae9a157786
files MoinMoin/themes/basic/templates/layout.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/templates/layout.html	Thu Jul 18 14:01:01 2013 +0530
+++ b/MoinMoin/themes/basic/templates/layout.html	Thu Jul 18 14:03:36 2013 +0530
@@ -118,7 +118,7 @@
                                    {{ item_name|shorten_item_name }}
                                 </a>
                             {%- endif %}
-                            {% if loop.last is sameas false %}
+                            {% if not loop.last %}
                                 <span class="divider">/</span>
                             {% endif %}
                           </li>