Verified Commit c71c0789 authored by Levente Polyak's avatar Levente Polyak
Browse files

section: add package back ref link to archweb

parent 7dec8314
......@@ -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>
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment