[gen] Added an icon for unlocking single-page objects.
This commit is contained in:
parent
e969bbf362
commit
aa10572c81
Binary file not shown.
Before Width: | Height: | Size: 947 B After Width: | Height: | Size: 925 B |
BIN
gen/ui/unlockBig.png
Normal file
BIN
gen/ui/unlockBig.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -486,6 +486,10 @@ class AbstractWrapper(object):
|
|||
'date':lockDate};
|
||||
lockMsg=_('page_locked', mapping=lockMap)"
|
||||
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>
|
||||
|
||||
<!-- Next -->
|
||||
|
|
Loading…
Reference in a new issue