mark new resources with an asterisk
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3047 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
6e6f17eca9
commit
41b6a982e9
5 changed files with 17 additions and 6 deletions
|
@ -49,6 +49,10 @@ table.listing td.number {
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
table.listing td.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
table.listing td.checkbox {
|
||||
text-align: center;
|
||||
width: 10px;
|
||||
|
|
Binary file not shown.
|
@ -407,11 +407,14 @@ msgstr "Benutzer"
|
|||
msgid "Change"
|
||||
msgstr "Änderung"
|
||||
|
||||
msgid "New"
|
||||
msgstr "Neu"
|
||||
|
||||
msgid "add"
|
||||
msgstr "hinzugefügt"
|
||||
msgstr "hinzufügen"
|
||||
|
||||
msgid "modify"
|
||||
msgstr "geändert"
|
||||
msgstr "ändern"
|
||||
|
||||
# management interface
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<th i18n:translate="">Title</th>
|
||||
<th i18n:translate="">User</th>
|
||||
<th i18n:translate="">Date/Time</th>
|
||||
<th i18n:translate="">Change</th>
|
||||
<th i18n:translate="">New</th>
|
||||
</tr>
|
||||
<tr tal:repeat="row info/data"
|
||||
tal:attributes="class python: repeat['row'].odd() and 'even' or 'odd'">
|
||||
|
@ -50,8 +50,8 @@
|
|||
tal:omit-tag="not:url"
|
||||
tal:content="row/user/title" /></td>
|
||||
<td tal:content="row/timeStamp"></td>
|
||||
<td i18n:translate=""
|
||||
tal:content="row/action"></td>
|
||||
<td class="center"
|
||||
tal:content="row/markNew"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</metal:recent>
|
||||
|
|
|
@ -191,7 +191,11 @@ class TrackDetails(object):
|
|||
|
||||
@Lazy
|
||||
def action(self):
|
||||
return self.track.data['action']
|
||||
return self.track.data.get('action', '')
|
||||
|
||||
@Lazy
|
||||
def markNew(self):
|
||||
return self.action == 'add' and '*' or ''
|
||||
|
||||
@Lazy
|
||||
def timeStamp(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue