File tree Expand file tree Collapse file tree
apply/projects/templates/application_projects
static_src/sass/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ <h2 class="m-0 text-lg font-semibold">
2020 {% user_can_submit_contract object user contract as can_submit_contract %}
2121 {% required_remaining_contracting_doc_categories remaining_contract_document_categories as required_remaining_contract_document_categories %}
2222 {% if can_submit_contract %}
23- < a class ="btn btn-primary {% if required_remaining_contract_document_categories or not contract.signed_by_applicant %}is -disabled{% endif %} "
23+ < a class ="btn btn-primary{% if required_remaining_contract_document_categories or not contract.signed_by_applicant %} btn -disabled{% endif %} "
2424 id ="submit_contract_document "
2525 hx-get ="{% url 'apply:projects:contract_documents_submit' object.submission.id %} "
2626 href ="{% url 'apply:projects:contract_documents_submit' object.submission.id %} "
Original file line number Diff line number Diff line change 9797{% user_can_submit_contract object user contract as can_submit_contract %}
9898{% if can_submit_contract %}
9999 < a
100- class ="btn btn-primary {% if required_remaining_contract_document_categories or not contract.signed_by_applicant %}is -disabled{% endif %} "
100+ class ="btn btn-primary{% if required_remaining_contract_document_categories or not contract.signed_by_applicant %} btn -disabled{% endif %} "
101101 id ="submit_contract_document "
102102 hx-swap-oob ="true "
103103 hx-get ="{% url 'apply:projects:contract_documents_submit' object.submission.id %} "
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ <h2 class="card-title">{% trans "Actions to take" %}</h2>
141141 {% endif %}
142142
143143 {% if can_update_paf_status %}
144- < a class ="btn btn-primary btn-block {% if user_can_approve %} is -disabled {% endif %} "
144+ < a class ="btn btn-primary btn-block {% if user_can_approve %}btn -disabled{% endif %} "
145145 href ="{% url 'apply:projects:update_pafstatus' object.submission.id %} "
146146 hx-get ="{% url 'apply:projects:update_pafstatus' object.submission.id %} "
147147 hx-target ="#htmx-modal "
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ <h5>{% trans "Actions to take" %}</h5>
4343 {% user_can_edit_pfs object user as can_edit_pfs %}
4444 {% if can_edit_pfs %}
4545 < a
46- class ="btn btn-primary btn-block {% if user_can_approve %} is -disabled {% endif %} "
46+ class ="btn btn-primary btn-block {% if user_can_approve %}btn -disabled{% endif %} "
4747 href ="{% url 'apply:projects:edit_sow' pk=object.submission.pk %} "
4848 >
4949 {% trans "Edit" %}
Original file line number Diff line number Diff line change 1313 cursor : pointer ;
1414 }
1515
16- & :disabled ,
17- & .is-disabled {
18- pointer-events : none ;
19- opacity : 0.5 ;
20- }
21-
2216 & --primary {
2317 @include mixins .button (
2418 variables .$color--light-blue ,
You can’t perform that action at this time.
0 commit comments