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
|
|
@ -8,7 +8,7 @@
|
|||
% elif form.updating:
|
||||
<li>${h.link_to("View this User", url('user.read', uuid=form.fieldset.model.uuid))}</li>
|
||||
% endif
|
||||
% if not form.creating and request.has_perm('user.versions.view'):
|
||||
% if version_count is not Undefined and request.has_perm('user.versions.view'):
|
||||
<li>${h.link_to("View Change History ({0})".format(version_count), url('user.versions', uuid=form.fieldset.model.uuid))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue