Add buefy theme support for ordering worksheet
This commit is contained in:
parent
7a01cb8873
commit
58362ae858
7 changed files with 282 additions and 84 deletions
|
@ -55,8 +55,15 @@
|
|||
</%def>
|
||||
|
||||
<%def name="leading_buttons()">
|
||||
% if master.has_worksheet and master.allow_worksheet(batch) and request.has_perm('{}.worksheet'.format(permission_prefix)):
|
||||
<button type="button" class="load-worksheet">Edit as Worksheet</button>
|
||||
% if master.has_worksheet and master.allow_worksheet(batch) and master.has_perm('worksheet'):
|
||||
% if use_buefy:
|
||||
<once-button tag="a"
|
||||
href="${url('{}.worksheet'.format(route_prefix), uuid=batch.uuid)}"
|
||||
text="Edit as Worksheet">
|
||||
</once-button>
|
||||
% else:
|
||||
<button type="button" class="load-worksheet">Edit as Worksheet</button>
|
||||
% endif
|
||||
% endif
|
||||
</%def>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue