diff --git a/templates/portfolios/task_orders/invitations.html b/templates/portfolios/task_orders/invitations.html index b28c83fa..0ebad204 100644 --- a/templates/portfolios/task_orders/invitations.html +++ b/templates/portfolios/task_orders/invitations.html @@ -2,6 +2,13 @@ {% from "components/icon.html" import Icon %} +{% macro Link(text, icon_name, url='#', classes='') %} + + {{ Icon(icon_name) }} + {{ text }} + +{% endmacro %} + {% macro OfficerInfo(task_order, officer_type) %}

{{ ("task_orders.invitations." + officer_type + ".title") | translate }}

@@ -28,18 +35,9 @@

{{ "task_orders.invitations.dod_id_label" | translate}}: {{ dod_id }}

- - {{ Icon("edit") }} - Update - - - {{ Icon("avatar") }} - Resend Invitation - - - {{ Icon("trash") }} - Remove - + {{ Link("Update", "edit") }} + {{ Link("Resend Invitation", "avatar") }} + {{ Link("Remove", "trash", classes="remove") }}
{% elif first_name and last_name %}
@@ -54,14 +52,8 @@

{{ phone_number | usPhone }}

- - {{ Icon("edit") }} - Update - - - {{ Icon("trash") }} - Remove - + {{ Link("Update", "edit") }} + {{ Link("Remove", "trash", classes="remove") }}