From cc1508f9e774fd6deb8c9d15db42e48952fbdcd6 Mon Sep 17 00:00:00 2001
From: Liv Dywan
Date: Mon, 23 Sep 2024 16:58:14 +0200
Subject: [PATCH] Remove deprecated legacy job group view
The old view has been deprecated 5 years ago.
Related: https://progress.opensuse.org/issues/166310#note-14
---
.../webapi/admin/job_template/index.html.ep | 51 -------------------
1 file changed, 51 deletions(-)
diff --git a/templates/webapi/admin/job_template/index.html.ep b/templates/webapi/admin/job_template/index.html.ep
index 9280263e1196..e4832abab341 100644
--- a/templates/webapi/admin/job_template/index.html.ep
+++ b/templates/webapi/admin/job_template/index.html.ep
@@ -6,14 +6,6 @@
% title 'Job templates for ' . $group->name;
-% unless ($force_yaml_editor) {
-
- The old job group view is deprecated and will be removed from
- future versions of openQA. Please save the job templates in YAML
- format as soon as possible.
-
-% }
-
% content_for 'ready_function' => begin
user_is_admin = <%= is_admin_js %>;
% if ($force_yaml_editor) {
@@ -28,19 +20,6 @@
% end
- % if (!$force_yaml_editor) {
-
- % }
-
- % if (!$force_yaml_editor && is_admin) {
-
- Please save as YAML to add new medium as part of this group
-
- % }