Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
Rebuilderd Website
Commits
c71c0789
Verified
Commit
c71c0789
authored
Oct 15, 2020
by
Levente Polyak
🚀
Browse files
section: add package back ref link to archweb
parent
7dec8314
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Section.js
View file @
c71c0789
...
...
@@ -8,7 +8,8 @@ function StatusSection(props) {
const
content
=
(
<
ul
>
{
props
.
pkgs
.
map
(
function
(
pkg
)
{
return
<
li
key
=
{
pkg
.
name
}
><
p
className
=
"
subtitle is-6 has-text-white
"
>
{
pkg
.
name
}
{
pkg
.
version
}
<
/p></
li
>
let
url
=
`https://www.archlinux.org/packages/
${
pkg
.
suite
}
/
${
pkg
.
architecture
}
/
${
pkg
.
name
}
`
;
return
<
li
key
=
{
pkg
.
name
}
><
p
className
=
"
subtitle is-6 has-text-white
"
><
a
href
=
{
url
}
>
{
pkg
.
name
}
{
pkg
.
version
}
<
/a></
p
><
/li
>
})}
<
/ul
>
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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