From 90c3ef815eff802a8835500ab37b3b40c95234c3 Mon Sep 17 00:00:00 2001 From: Andrii Nikitin Date: Wed, 15 Oct 2025 13:15:01 +0200 Subject: [PATCH] ui: add leap 16 to reports --- dist/salt/projects.sql | 11 +++++++++++ templates/app/package/index.html.ep | 1 + templates/app/package/show.html.ep | 1 + templates/report/mirrors/index.html.ep | 2 +- 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dist/salt/projects.sql b/dist/salt/projects.sql index 8350d6cb..03abdb0c 100644 --- a/dist/salt/projects.sql +++ b/dist/salt/projects.sql @@ -26,3 +26,14 @@ insert into project(name,path) select '15.5 source','/source/distribution/leap/1 insert into project(name,path) select '15.5 update','/update/leap/15.5'; insert into project(name,path) select '15.5 port','/ports/aarch64/distribution/leap/15.5'; +insert into project(name,path) select '15.6 ISO','/distribution/leap/15.6/iso'; +insert into project(name,path) select '15.6 repo','/distribution/leap/15.6/repo'; +insert into project(name,path) select '15.6 debug','/debug/distribution/leap/15.6/repo'; +insert into project(name,path) select '15.6 source','/source/distribution/leap/15.6/repo'; +insert into project(name,path) select '15.6 update','/update/leap/15.6'; +insert into project(name,path) select '15.6 port','/ports/aarch64/distribution/leap/15.6'; + +insert into project(name,path) select '16.0 ISO','/distribution/leap/16.0/installer/iso'; +insert into project(name,path) select '16.0 repo','/distribution/leap/16.0/repo'; +insert into project(name,path) select '16.0 debug','/debug/distribution/leap/16.0/repo'; +insert into project(name,path) select '16.0 source','/source/distribution/leap/16.0/repo'; diff --git a/templates/app/package/index.html.ep b/templates/app/package/index.html.ep index 95cf6ea0..c8eebb0a 100644 --- a/templates/app/package/index.html.ep +++ b/templates/app/package/index.html.ep @@ -73,6 +73,7 @@ input[type = text] {
+ diff --git a/templates/app/package/show.html.ep b/templates/app/package/show.html.ep index a0b43833..440cf453 100644 --- a/templates/app/package/show.html.ep +++ b/templates/app/package/show.html.ep @@ -83,6 +83,7 @@ input[type = text] {
+ diff --git a/templates/report/mirrors/index.html.ep b/templates/report/mirrors/index.html.ep index bbd0a334..5e967eb9 100644 --- a/templates/report/mirrors/index.html.ep +++ b/templates/report/mirrors/index.html.ep @@ -33,7 +33,7 @@ % my $name = $project->{name}; % ($first) = split ' ', $name, 2; % my $extra_title = $first; -% $extra_title = "Leap $first" if 0 == rindex $first, "15.", 0; +% $extra_title = "Leap $first" if ((0 == rindex $first, "15.", 0) || (0 == rindex $first, "16.", 0)); % $extra_title = "Build Service" if $first eq 'repositories'; % $extra_title = "Tumbleweed" if $first eq 'TW'; % $extra_title = "Slowroll" if $first eq 'SR';