Skip to content
Snippets Groups Projects
Verified Commit c71c0789 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

section: add package back ref link to archweb

parent 7dec8314
No related branches found
No related tags found
1 merge request!2Feature/collapse design link
......@@ -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>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment