diff --git a/tailbone/templates/people/view_profile.mako b/tailbone/templates/people/view_profile.mako index bf94b7fa..c5c86806 100644 --- a/tailbone/templates/people/view_profile.mako +++ b/tailbone/templates/people/view_profile.mako @@ -404,33 +404,53 @@ % if request.has_perm('people_profile.edit_person'): <${b}-table-column label="Actions" v-slot="props"> - + % if request.use_oruga: - + + + Edit + % else: + Edit % endif - Edit - + % if request.use_oruga: - + + + Delete + % else: + Delete % endif - Delete - + % if not request.use_oruga: + class="grid-action" + % endif + > % if request.use_oruga: - + + + Set Preferred + % else: + Set Preferred % endif - Set Preferred % endif @@ -618,33 +638,52 @@ % if request.has_perm('people_profile.edit_person'): <${b}-table-column label="Actions" v-slot="props"> - + % if request.use_oruga: - + + + Edit + % else: + Edit % endif - Edit - + % if request.use_oruga: - + + + Delete + % else: + Delete % endif - Delete - + % if request.use_oruga: - + + + Set Preferred + % else: + Set Preferred % endif - Set Preferred % endif @@ -1200,8 +1239,15 @@ label="Actions" v-slot="props"> - - Edit + % if request.use_oruga: + + + Edit + + % else: + + Edit + % endif % endif @@ -1428,15 +1474,30 @@ v-slot="props"> % if request.has_perm('people_profile.edit_note'): - - Edit + % if request.use_oruga: + + + Edit + + % else: + + Edit + % endif % endif % if request.has_perm('people_profile.delete_note'): - - Delete + % if request.use_oruga: + + + Delete + + % else: + + Delete + % endif + % endif @@ -1477,14 +1538,16 @@ + :disabled="editNoteDelete" + expanded> + :disabled="editNoteDelete" + expanded>