From 2f31cfa71082eace7c05ba8f21655a8f6d20e953 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 16 Oct 2024 11:06:27 +0200 Subject: [statistics] Make ML-version a link --- modules-available/minilinux/page.inc.php | 1 + modules-available/minilinux/templates/branches.html | 12 +++++++++++- modules-available/minilinux/templates/versionlist.html | 3 ++- modules-available/statistics/templates/machine-main.html | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/modules-available/minilinux/page.inc.php b/modules-available/minilinux/page.inc.php index 8004f1ab..ce222b08 100644 --- a/modules-available/minilinux/page.inc.php +++ b/modules-available/minilinux/page.inc.php @@ -127,6 +127,7 @@ class Page_MiniLinux extends Page if (isset($usage[$version['versionid']])) { $version['usage'] = $usage[$version['versionid']]; } + $version['versionid_dash'] = str_replace('/', '-', $version['versionid']); } return Render::parse('versionlist', ['versions' => array_values($versions)]); } diff --git a/modules-available/minilinux/templates/branches.html b/modules-available/minilinux/templates/branches.html index 372321e2..7a93a523 100644 --- a/modules-available/minilinux/templates/branches.html +++ b/modules-available/minilinux/templates/branches.html @@ -23,12 +23,22 @@