0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-04 21:05:26 +00:00

Improve help text in the repository selection form

This commit is contained in:
Pēteris Caune 2025-02-26 11:46:58 +02:00
parent 77a226e559
commit 461d2afd5f
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2

View file

@ -9,7 +9,6 @@
<p class="alert alert-success">Success, GitHub connected!</p>
<h2>Integration Settings</h2>
<form method="post" action="{% url 'hc-add-github-save' project.code %}" class="form-horizontal">
{% csrf_token %}
<div class="form-group {{ form.repo_name.css_classes }}">
@ -21,9 +20,11 @@
{% endfor %}
</select>
<div class="help-block">
Note: If you do not see the repository you are looking for in the list,
When a check goes down, {% site_name %} will create a new issue
in this repository.<br>
If you do not see the repository you are looking for,
make sure {% site_name %} GitHub app is installed
in the GitHub account that owns the repository.
in the repository owner's GitHub account.
<a href="{{ install_url }}">Install…</a>
</div>
</div>
@ -40,7 +41,11 @@
{% if form.token.errors %}
<div class="help-block">{{ form.labels.errors|join:"" }}</div>
{% else %}
<div class="help-block">Optional, separate multiple labels with commas.</div>
<div class="help-block">
{% site_name %} will attach these labels to the issues it creates.
<br>
Optional, separate multiple labels with commas.
</div>
{% endif %}
</div>
</div>