More versioning support fixes, to allow on or off.
This commit is contained in:
parent
994af9dd3f
commit
e6b448f298
4 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
|||
<li>${h.link_to("View this Role", url('role.read', uuid=form.fieldset.model.uuid))}</li>
|
||||
% endif
|
||||
<li>${h.link_to("Delete this Role", url('role.delete', uuid=form.fieldset.model.uuid), class_='delete')}</li>
|
||||
% if not form.creating and request.has_perm('role.versions.view'):
|
||||
% if version_count is not Undefined and request.has_perm('role.versions.view'):
|
||||
<li>${h.link_to("View Change History ({0})".format(version_count), url('role.versions', uuid=form.fieldset.model.uuid))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue