Skip to content

Commit

Permalink
frontend: reword priority=X info for better look
Browse files Browse the repository at this point in the history
  • Loading branch information
nikromen committed Aug 30, 2023
1 parent 7712cb4 commit 2e90805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions frontend/coprs_frontend/coprs/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,7 @@ class CoprForm(BaseForm):
validators=[wtforms.validators.Optional()],)

repo_priority = wtforms.IntegerField(
"Use the priority=<INT> config option for repositories in this "
"project, see man dnf.conf(5) for more info.",
"Repo priority",
render_kw={"placeholder": "Optional - integer, e.g. 22"},
validators=[
wtforms.validators.Optional(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ <h3 class="panel-title">{{ counter('instructions') }}. Other options</h3>
{{ render_field(form.repo_priority,
class="short-input-field",
placeholder='Optional',
info='Set the priority value of this repository. Defaults to 99.') }}
info='Use the priority=&lt;INT&gt; config option for repositories in this project, see man dnf.conf(5) for more info.') }}

{{ render_field(form.isolation, placeholder='default') }}

Expand Down

0 comments on commit 2e90805

Please sign in to comment.