mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: clean up package action templates (merge, delete, disown)
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
d94e2dc9d7
commit
c07c40bcb6
5 changed files with 65 additions and 16 deletions
|
@ -2321,3 +2321,16 @@ msgstr ""
|
|||
#: aurweb/scripts/notify.py
|
||||
msgid "AUR Server Error"
|
||||
msgstr ""
|
||||
|
||||
#: templates/pkgbase/merge.html
|
||||
#: templates/packages/delete.html
|
||||
#: templates/packages/disown.html
|
||||
msgid "Related package request closure comments..."
|
||||
msgstr ""
|
||||
|
||||
#: templates/pkgbase/merge.html
|
||||
#: templates/packages/delete.html
|
||||
msgid "This action will close any pending package requests "
|
||||
"related to it. If %sComments%s are omitted, a closure "
|
||||
"comment will be autogenerated."
|
||||
msgstr ""
|
||||
|
|
|
@ -27,6 +27,15 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
{{
|
||||
"This action will close any pending package requests "
|
||||
"related to it. If %sComments%s are omitted, a closure "
|
||||
"comment will be autogenerated."
|
||||
| tr | format("<em>", "</em>") | safe
|
||||
}}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{
|
||||
"Deletion of a package is permanent. "
|
||||
|
@ -36,6 +45,15 @@
|
|||
|
||||
<form action="/pkgbase/{{ pkgbase.Name }}/delete" method="post">
|
||||
<fieldset>
|
||||
|
||||
<p>
|
||||
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
||||
<textarea id="id_comments" name="comments"
|
||||
rows="5" cols="50"
|
||||
placeholder="Related package request closure comments..."
|
||||
></textarea>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label class="confirmation">
|
||||
<input type="checkbox" name="confirm" value="1" />
|
||||
|
@ -43,12 +61,6 @@
|
|||
</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
||||
<textarea id="id_comments" name="comments"
|
||||
rows="5" cols="50"></textarea>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<input class="button"
|
||||
type="submit"
|
||||
|
|
|
@ -27,6 +27,15 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
{{
|
||||
"This action will close any pending package requests "
|
||||
"related to it. If %sComments%s are omitted, a closure "
|
||||
"comment will be autogenerated."
|
||||
| tr | format("<em>", "</em>") | safe
|
||||
}}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{
|
||||
"By selecting the checkbox, you confirm that you want to "
|
||||
|
@ -38,8 +47,11 @@
|
|||
<fieldset>
|
||||
<p>
|
||||
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
||||
<textarea id="id_comments" name="comments"
|
||||
rows="5" cols="50"></textarea>
|
||||
<textarea id="id_comments"
|
||||
name="comments"
|
||||
rows="5" cols="50"
|
||||
placeholder="Related package request closure comments..."
|
||||
></textarea>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -28,6 +28,15 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
{{
|
||||
"This action will close any pending package requests "
|
||||
"related to it. If %sComments%s are omitted, a closure "
|
||||
"comment will be autogenerated."
|
||||
| tr | format("<em>", "</em>") | safe
|
||||
}}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ "Once the package has been merged it cannot be reversed. " | tr }}
|
||||
{{ "Enter the package name you wish to merge the package into. " | tr }}
|
||||
|
@ -37,6 +46,16 @@
|
|||
<form id="merge-form" action="/pkgbase/{{ pkgbase.Name }}/merge" method="post">
|
||||
<fieldset>
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
|
||||
<p>
|
||||
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
||||
<textarea id="id_comments"
|
||||
name="comments"
|
||||
rows="5" cols="50"
|
||||
placeholder="Related package request closure comments..."
|
||||
></textarea>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label id="merge-into" for="merge_into">
|
||||
{{ "Merge into:" | tr }}
|
||||
|
@ -49,12 +68,6 @@
|
|||
/>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label for="id_comments">{{ "Comments" | tr }}:</label>
|
||||
<textarea id="id_comments" name="comments"
|
||||
rows="5" cols="50"></textarea>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label class="confirmation">
|
||||
<input type="checkbox" name="confirm" />
|
||||
|
|
|
@ -144,8 +144,7 @@ span.hover-help {
|
|||
cursor:help;
|
||||
}
|
||||
|
||||
label.confirmation,
|
||||
#merge-into {
|
||||
label.confirmation {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue