mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(FastAPI): display VCS note when flagging a VCS package
Closes: #131 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
71b3f781f7
commit
2d46811c45
3 changed files with 44 additions and 0 deletions
|
@ -18,6 +18,20 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% if pkgbase.Name.endswith(('-cvs', '-svn', '-git', '-hg', '-bzr', '-darcs')) %}
|
||||
<p class="error">
|
||||
{# TODO: This error is not yet translated. #}
|
||||
{{
|
||||
"This seems to be a VCS package. Please do %snot%s flag "
|
||||
"it out-of-date if the package version in the AUR does "
|
||||
"not match the most recent commit. Flagging this package "
|
||||
"should only be done if the sources moved or changes in "
|
||||
"the PKGBUILD are required because of recent upstream "
|
||||
"changes." | tr | format("<strong>", "</strong>") | safe
|
||||
}}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
{{
|
||||
"Please do %snot%s use this form to report bugs. "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue