|
@@ -7,7 +7,7 @@
|
7
|
7
|
${label}
|
8
|
8
|
</h3>
|
9
|
9
|
</%def>
|
10
|
|
-<%def name="H3_WITH_BUTTON(current_user, workspace, dom_id, label, action_dom_id='', action_label='', fa_icon='')">
|
|
10
|
+<%def name="H3_WITH_BUTTON(current_user, workspace, dom_id, label, action_dom_id='', action_label='', fa_icon='', custom_classes='')">
|
11
|
11
|
<h3 id="${dom_id}">
|
12
|
12
|
${ICON.FA('t-less-visible '+fa_icon) if fa_icon else ''}
|
13
|
13
|
${label}
|
|
@@ -15,7 +15,7 @@
|
15
|
15
|
## Button is shown for contributors (or more), not for readers
|
16
|
16
|
% if h.user_role(current_user, workspace)>1:
|
17
|
17
|
% if action_dom_id and action_label:
|
18
|
|
- <small class="t-spacer-left">${BUTTON.DATA_TARGET_AS_TEXT(action_dom_id, action_label)}</small>
|
|
18
|
+ <small class="t-spacer-left">${BUTTON.DATA_TARGET_AS_TEXT(action_dom_id, action_label, custom_classes)}</small>
|
19
|
19
|
% endif
|
20
|
20
|
% endif
|
21
|
21
|
</h3>
|