<t name="Priority Widget Template" t-name="project.portal_my_tasks_priority_widget_template">
        <span t-attf-class="o_priority_star d-inline-block fa fa-star#{' text-warning' if task.priority == '1' else '-o opacity-75'} #{classes if classes else ''}" t-attf-title="Priority: {{'Important' if task.priority == '1' else 'Normal'}}"/>
    </t>