diff --git a/hypha/apply/projects/templates/application_projects/includes/project_documents.html b/hypha/apply/projects/templates/application_projects/includes/project_documents.html index 2693c07cb1..aadeb005ed 100644 --- a/hypha/apply/projects/templates/application_projects/includes/project_documents.html +++ b/hypha/apply/projects/templates/application_projects/includes/project_documents.html @@ -3,73 +3,73 @@
-
+

{% trans "Project documents" %}

- {% if collapsible_header %} - - {% endif %} -
-
- {% user_can_send_for_approval object user as can_send_to_approve %} - {% if can_send_to_approve %} - - {% if object.paf_approvals.exists %} - {% trans "Resubmit for approval" %} - {% else %} - {% trans "Submit for approval" %} - {% endif %} - - {% endif %} - {% user_can_update_paf_approvers object user request as can_update_paf_approvers %} - {% user_can_assign_approvers_to_project object user request as can_assign_paf_approvers %} - {% if can_update_paf_approvers %} - {% if user == project.lead %} - + {% user_can_send_for_approval object user as can_send_to_approve %} + {% if can_send_to_approve %} + - {% trans "View/Update Approvers" %} + {% if object.paf_approvals.exists %} + {% trans "Resubmit for approval" %} + {% else %} + {% trans "Submit for approval" %} + {% endif %} - {% else %} - + {% trans "View/Update Approvers" %} + + {% else %} + + {% trans "Change approver" %} + + {% endif %} + {% endif %} + {% if can_assign_paf_approvers %} + - {% trans "Change approver" %} + {% trans "Assign approver" %} {% endif %} - {% endif %} - {% if can_assign_paf_approvers %} - - {% trans "Assign approver" %} - - {% endif %} - {% user_can_update_paf_status object user request=request as can_update_paf_status %} - {% if object.can_make_approval and can_update_paf_status %} - - {% trans "Update Status" %} - - {% endif %} + {% user_can_update_paf_status object user request=request as can_update_paf_status %} + {% if object.can_make_approval and can_update_paf_status %} + + {% trans "Update Status" %} + + {% endif %} + {% if collapsible_header %} + + {% endif %} +