Skip to content

Commit 546036a

Browse files
committed
djlint
1 parent fdda37a commit 546036a

2 files changed

Lines changed: 22 additions & 10 deletions

File tree

‎gateway/sds_gateway/templates/users/partials/registry_application_modal.html‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
<div class="modal-dialog modal-lg">
99
<div class="modal-content">
1010
<div class="modal-header">
11-
<h5 class="modal-title" id="registryApplicationModalLabel">{% translate "Apply for federation registry" %}</h5>
11+
<h5 class="modal-title"
12+
id="registryApplicationModalLabel">{% translate "Apply for federation registry" %}</h5>
1213
<button type="button"
1314
class="btn-close"
1415
data-bs-dismiss="modal"
@@ -41,7 +42,9 @@ <h5 class="modal-title" id="registryApplicationModalLabel">{% translate "Apply f
4142
{% endif %}
4243
</div>
4344
<div class="modal-footer">
44-
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% translate "Cancel" %}</button>
45+
<button type="button"
46+
class="btn btn-secondary"
47+
data-bs-dismiss="modal">{% translate "Cancel" %}</button>
4548
<button type="submit" class="btn btn-primary">{% translate "Submit application" %}</button>
4649
</div>
4750
</form>

‎gateway/sds_gateway/templates/users/registry_application_detail.html‎

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@ <h1 class="page-title mb-0">{% translate "Registry Application" %}</h1>
8686
<form method="post"
8787
action="{% url 'users:registry_application_reissue_challenge' pk=application.pk %}">
8888
{% csrf_token %}
89-
<button type="submit" class="btn btn-outline-primary">{% translate "Issue new verification token" %}</button>
89+
<button type="submit"
90+
class="btn btn-outline-primary">{% translate "Issue new verification token" %}</button>
9091
</form>
9192
<form method="post"
9293
action="{% url 'users:registry_application_withdraw' pk=application.pk %}">
9394
{% csrf_token %}
94-
<button type="submit" class="btn btn-outline-secondary">{% translate "Withdraw application" %}</button>
95+
<button type="submit"
96+
class="btn btn-outline-secondary">{% translate "Withdraw application" %}</button>
9597
</form>
9698
</div>
9799
{% endif %}
@@ -117,7 +119,8 @@ <h1 class="page-title mb-0">{% translate "Registry Application" %}</h1>
117119
class="mb-4">
118120
{% csrf_token %}
119121
<div class="mb-3">
120-
<label class="form-label" for="registry-approve-site-name">{% translate "Site id (optional)" %}</label>
122+
<label class="form-label"
123+
for="registry-approve-site-name">{% translate "Site id (optional)" %}</label>
121124
<input type="text"
122125
class="form-control"
123126
id="registry-approve-site-name"
@@ -126,19 +129,22 @@ <h1 class="page-title mb-0">{% translate "Registry Application" %}</h1>
126129
value="{{ application.proposed_site_name }}"
127130
placeholder="{% translate "Defaults to proposed site id" %}" />
128131
</div>
129-
<button type="submit" class="btn btn-success">{% translate "Approve application" %}</button>
132+
<button type="submit"
133+
class="btn btn-success">{% translate "Approve application" %}</button>
130134
</form>
131135
<form method="post"
132136
action="{% url 'users:registry_application_reject' pk=application.pk %}">
133137
{% csrf_token %}
134138
<div class="mb-3">
135-
<label class="form-label" for="registry-reject-reason">{% translate "Rejection reason (optional)" %}</label>
139+
<label class="form-label"
140+
for="registry-reject-reason">{% translate "Rejection reason (optional)" %}</label>
136141
<textarea class="form-control"
137142
id="registry-reject-reason"
138143
name="rejected_reason"
139144
rows="2"></textarea>
140145
</div>
141-
<button type="submit" class="btn btn-outline-danger">{% translate "Reject application" %}</button>
146+
<button type="submit"
147+
class="btn btn-outline-danger">{% translate "Reject application" %}</button>
142148
</form>
143149
</div>
144150
</div>
@@ -159,7 +165,8 @@ <h1 class="page-title mb-0">{% translate "Registry Application" %}</h1>
159165
<div class="modal-dialog modal-dialog-centered">
160166
<div class="modal-content">
161167
<div class="modal-header">
162-
<h5 class="modal-title" id="registryChallengeTokenModalLabel">{% translate "Verification token (copy now)" %}</h5>
168+
<h5 class="modal-title"
169+
id="registryChallengeTokenModalLabel">{% translate "Verification token (copy now)" %}</h5>
163170
</div>
164171
<div class="modal-body">
165172
<p>
@@ -172,7 +179,9 @@ <h5 class="modal-title" id="registryChallengeTokenModalLabel">{% translate "Veri
172179
</p>
173180
</div>
174181
<div class="modal-footer">
175-
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">{% translate "Close" %}</button>
182+
<button type="button"
183+
class="btn btn-primary"
184+
data-bs-dismiss="modal">{% translate "Close" %}</button>
176185
</div>
177186
</div>
178187
</div>

0 commit comments

Comments
 (0)