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;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.listing td.center {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
table.listing td.checkbox {
|
table.listing td.checkbox {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
|
|
Binary file not shown.
|
@ -407,11 +407,14 @@ msgstr "Benutzer"
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "Änderung"
|
msgstr "Änderung"
|
||||||
|
|
||||||
|
msgid "New"
|
||||||
|
msgstr "Neu"
|
||||||
|
|
||||||
msgid "add"
|
msgid "add"
|
||||||
msgstr "hinzugefügt"
|
msgstr "hinzufügen"
|
||||||
|
|
||||||
msgid "modify"
|
msgid "modify"
|
||||||
msgstr "geändert"
|
msgstr "ändern"
|
||||||
|
|
||||||
# management interface
|
# management interface
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<th i18n:translate="">Title</th>
|
<th i18n:translate="">Title</th>
|
||||||
<th i18n:translate="">User</th>
|
<th i18n:translate="">User</th>
|
||||||
<th i18n:translate="">Date/Time</th>
|
<th i18n:translate="">Date/Time</th>
|
||||||
<th i18n:translate="">Change</th>
|
<th i18n:translate="">New</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr tal:repeat="row info/data"
|
<tr tal:repeat="row info/data"
|
||||||
tal:attributes="class python: repeat['row'].odd() and 'even' or 'odd'">
|
tal:attributes="class python: repeat['row'].odd() and 'even' or 'odd'">
|
||||||
|
@ -50,8 +50,8 @@
|
||||||
tal:omit-tag="not:url"
|
tal:omit-tag="not:url"
|
||||||
tal:content="row/user/title" /></td>
|
tal:content="row/user/title" /></td>
|
||||||
<td tal:content="row/timeStamp"></td>
|
<td tal:content="row/timeStamp"></td>
|
||||||
<td i18n:translate=""
|
<td class="center"
|
||||||
tal:content="row/action"></td>
|
tal:content="row/markNew"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</metal:recent>
|
</metal:recent>
|
||||||
|
|
|
@ -191,7 +191,11 @@ class TrackDetails(object):
|
||||||
|
|
||||||
@Lazy
|
@Lazy
|
||||||
def action(self):
|
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
|
@Lazy
|
||||||
def timeStamp(self):
|
def timeStamp(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue