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
|
@ -11,7 +11,7 @@
|
|||
<li>${h.link_to("Edit Printer Settings", url('label_profile.printer_settings', uuid=profile.uuid))}</li>
|
||||
% endif
|
||||
% endif
|
||||
% if not form.creating and request.has_perm('labelprofile.versions.view'):
|
||||
% if version_count is not Undefined and request.has_perm('labelprofile.versions.view'):
|
||||
<li>${h.link_to("View Change History ({0})".format(version_count), url('labelprofile.versions', uuid=form.fieldset.model.uuid))}</li>
|
||||
% endif
|
||||
</%def>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue