[gen] Added an icon for unlocking single-page objects.

This commit is contained in:
Gaetan Delannay 2014-03-25 12:53:10 +01:00
parent e969bbf362
commit aa10572c81
3 changed files with 4 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 947 B

After

Width:  |  Height:  |  Size: 925 B

BIN
gen/ui/unlockBig.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -486,6 +486,10 @@ class AbstractWrapper(object):
'date':lockDate}; 'date':lockDate};
lockMsg=_('page_locked', mapping=lockMap)" lockMsg=_('page_locked', mapping=lockMap)"
src=":url('lockedBig')" title=":lockMsg"/></a> src=":url('lockedBig')" title=":lockMsg"/></a>
<a if="editable and locked and user.has_role('Manager')">
<img class="clickable" title=":_('page_unlock')"
src=":url('unlockBig')"
onclick=":'onUnlockPage(%s,%s)' % (q(zobj.UID()), q(page))"/></a>
</td> </td>
<!-- Next --> <!-- Next -->