mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix: links to cgit should be url encoded
Closes #283 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
708ade4dbf
commit
1671868956
2 changed files with 10 additions and 6 deletions
|
@ -6,21 +6,21 @@
|
|||
<h4>{{ "Package Actions" | tr }}</h4>
|
||||
<ul class="small">
|
||||
<li>
|
||||
<a href="/cgit/aur.git/tree/PKGBUILD?h={{ pkgbase.Name }}">
|
||||
<a href="{{ config.get('options', 'source_file_uri') | format("PKGBUILD", pkgbase.Name | quote_plus) }}">
|
||||
{{ "View PKGBUILD" | tr }}
|
||||
</a>
|
||||
/
|
||||
<a href="/cgit/aur.git/log/?h={{ pkgbase.Name }}">
|
||||
<a href="{{ config.get('options', 'log_uri') | format(pkgbase.Name | quote_plus) }}">
|
||||
{{ "View Changes" | tr }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/cgit/aur.git/snapshot/{{ pkgbase.Name }}.tar.gz">
|
||||
<a href="{{ config.get('options', 'snapshot_uri') | format(pkgbase.Name | quote_plus) }}">
|
||||
{{ "Download snapshot" | tr }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://wiki.archlinux.org/title/Special:Search?search={{ pkgbase.Name }}">
|
||||
<a href="https://wiki.archlinux.org/title/Special:Search?{{ { 'search': pkgbase.Name } | urlencode }}">
|
||||
{{ "Search wiki" | tr }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue