Skip to content

Commit 53a28d4

Browse files
authored
Add two more saved org replies (#17983)
* Add saved org reply for unverifiable URLs * Add reason for application saved reply
1 parent 1d33600 commit 53a28d4

File tree

1 file changed

+14
-0
lines changed
  • warehouse/admin/templates/admin/organization_applications

1 file changed

+14
-0
lines changed

warehouse/admin/templates/admin/organization_applications/detail.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,24 @@ <h4 class="modal-title" id="deferModalLabel">
216216
Upon reviewing this organization application request, we were unable to find a related organization at the provided URL ({{ organization_application.link_url }}).
217217
Please let us know if there is an updated URL we should use instead, otherwise we will decline this request.
218218
</div>
219+
<div class="hidden" id="UnverifiableURLTemplate">
220+
Hello {{ organization_application.submitted_by.username }}!
221+
Upon reviewing this organization application request, we were unable to determine your affiliation with the provided URL ({{ organization_application.link_url }}).
222+
Please let us know if there is some other way for us to verify this, otherwise we will decline this request.
223+
</div>
219224
<div class="hidden" id="ShouldBeCompanyTemplate">
220225
Hello {{ organization_application.submitted_by.username }}!
221226
We’re reviewing your organization request and noticed that you might be a better fit for a Company organization.
222227
We can proceed with this request, but would need to change the name to suit, "{{ organization_application.name }}-community" or "{{ organization_application.name }}-opensource".
223228
Let us know if you’d like to do that, or switch this to a Company Organization request.
224229
</div>
230+
<div class="hidden" id="ReasonForApplicationTemplate">
231+
Hello {{ organization_application.submitted_by.username }}!
232+
We'd be happy to approve this organization request, but we need some more information first.
233+
We noticed that you don't have an existing project on PyPI yet.
234+
Since you don't have a project already, we need to know what your reason for applying for a PyPI Org account is and how having a PyPI Org account might help you.
235+
Let us know and we will go from there, thanks!
236+
</div>
225237
<input name="csrf_token" type="hidden" value="{{ request.session.get_csrf_token() }}">
226238
<input name="organization_applications_turbo_mode" type="hidden" value=0>
227239
<div class="modal-dialog" role="document">
@@ -241,7 +253,9 @@ <h4 class="modal-title" id="requestMoreInfoModalLabel">
241253
<div class="form-group">
242254
<button type="button" class="btn btn-outline-primary saved-reply-button" data-template="AddOrgEmailTemplate">Add Org Email</button>
243255
<button type="button" class="btn btn-outline-primary saved-reply-button" data-template="BadURLTemplate">Bad URL</button>
256+
<button type="button" class="btn btn-outline-primary saved-reply-button" data-template="UnverifiableURLTemplate">Unverifiable URL</button>
244257
<button type="button" class="btn btn-outline-primary saved-reply-button" data-template="ShouldBeCompanyTemplate">Should Be Company</button>
258+
<button type="button" class="btn btn-outline-primary saved-reply-button" data-template="ReasonForApplicationTemplate">Reason For Application</button>
245259
</div>
246260
<div class="form-group">
247261
<label for="requestMoreInfoModalMessage">

0 commit comments

Comments
 (0)