allura
修訂 | ff7e6e5bba8a70118d640721e2038c0578302b56 (tree) |
---|---|
時間 | 2010-07-15 01:29:47 |
作者 | Wolf <wolf@geek...> |
Commiter | Wolf |
a little overzealous; browse.html was not entitled to the same fix as page_view.html
@@ -28,8 +28,8 @@ | ||
28 | 28 | </tr> |
29 | 29 | </thead> |
30 | 30 | <tbody> |
31 | - <tr py:for="page in pages" class="${'deleted' if getattr(page, 'deleted', False) else ''}"> | |
32 | - <td><a href="../${page['title']+'/'+('?deleted=True' if getattr(page, 'deleted', False) else '')}">${page['title']}</a></td> | |
31 | + <tr py:for="page in pages" class="${'deleted' if page.deleted else ''}"> | |
32 | + <td><a href="../${page['title']+'/'+('?deleted=True' if page.deleted else '')}">${page['title']}</a></td> | |
33 | 33 | <td py:if="'user_label' in page">${page['user_label']}</td> |
34 | 34 | <td py:if="'user_label' not in page"></td> |
35 | 35 | <td py:if="'updated' in page">${h.ago(page['updated'])}</td> |