Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
aurweb
Commits
7869a354
Verified
Commit
7869a354
authored
Mar 08, 2022
by
Kevin Morris
Browse files
Merge branch 'master' into live
parents
b4139745
e2a17fef
Pipeline
#16395
passed with stages
in 4 minutes and 31 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
aurweb/config.py
View file @
7869a354
...
...
@@ -6,7 +6,7 @@ from typing import Any
# Publicly visible version of aurweb. This is used to display
# aurweb versioning in the footer and must be maintained.
# Todo: Make this dynamic/automated.
AURWEB_VERSION
=
"v6.0.2
1
"
AURWEB_VERSION
=
"v6.0.2
2
"
_parser
=
None
...
...
pyproject.toml
View file @
7869a354
...
...
@@ -8,7 +8,7 @@
#
[tool.poetry]
name
=
"aurweb"
version
=
"v6.0.2
1
"
version
=
"v6.0.2
2
"
license
=
"GPL-2.0-only"
description
=
"Source code for the Arch User Repository's website"
homepage
=
"https://aur.archlinux.org"
...
...
templates/partials/packages/details.html
View file @
7869a354
...
...
@@ -160,4 +160,3 @@
</table>
<script
type=
"text/javascript"
src=
"/static/js/copy.js"
></script>
web/html/js/copy.js
View file @
7869a354
document
.
addEventListener
(
'
DOMContentLoaded
'
,
function
()
{
document
.
querySelector
(
'
.copy
'
).
addEventListener
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
navigator
.
clipboard
.
writeText
(
event
.
target
.
text
);
});
let
elements
=
document
.
querySelectorAll
(
'
.copy
'
);
elements
.
forEach
(
function
(
el
)
{
el
.
addEventListener
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
navigator
.
clipboard
.
writeText
(
e
.
target
.
text
);
});
});
});
web/template/pkg_details.php
View file @
7869a354
...
...
@@ -309,9 +309,9 @@ endif;
<script>
document
.
addEventListener
(
'
DOMContentLoaded
'
,
function
()
{
document
.
querySelector
(
'
.copy
'
).
addEventListener
(
'
click
'
,
function
(
e
)
{
document
.
querySelector
All
(
'
.copy
'
).
addEventListener
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
navigator
.
clipboard
.
writeText
(
e
vent
.
target
.
text
);
navigator
.
clipboard
.
writeText
(
e
.
target
.
text
);
});
});
</script>
web/template/pkgbase_details.php
View file @
7869a354
...
...
@@ -138,9 +138,9 @@ endif;
<script>
document
.
addEventListener
(
'
DOMContentLoaded
'
,
function
()
{
document
.
querySelector
(
'
.copy
'
).
addEventListener
(
'
click
'
,
function
(
e
)
{
document
.
querySelector
All
(
'
.copy
'
).
addEventListener
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
navigator
.
clipboard
.
writeText
(
e
vent
.
target
.
text
);
navigator
.
clipboard
.
writeText
(
e
.
target
.
text
);
});
});
</script>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment