From 02d6f64ee79b94de4ebc35c703d621753d3f1880 Mon Sep 17 00:00:00 2001 From: OpenShift Cherrypick Robot Date: Thu, 12 Dec 2024 20:52:53 +0100 Subject: [PATCH] [redhat-3.9] ui: removing bootbox (#3505) removing bootbox Co-authored-by: bcaton --- static/directives/label-view.html | 6 +++--- static/js/directives/ui/label-view.js | 7 ------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/static/directives/label-view.html b/static/directives/label-view.html index 47794122f..6ddb65868 100644 --- a/static/directives/label-view.html +++ b/static/directives/label-view.html @@ -1,12 +1,12 @@ - + {{ getKind(label) }} {{ label.key }} = {{ label.value }} - + {{ label.value }} - \ No newline at end of file + diff --git a/static/js/directives/ui/label-view.js b/static/js/directives/ui/label-view.js index 466c51639..fd00d021c 100644 --- a/static/js/directives/ui/label-view.js +++ b/static/js/directives/ui/label-view.js @@ -24,13 +24,6 @@ angular.module('quay').directive('labelView', function () { return value && value.indexOf('https:') == 0; }; - $scope.viewLabelValue = function() { - bootbox.alert({ - size: "small", - title: $scope.label.key, - message: '
' + $sanitize($scope.label.value.replace('<', '<').replace('>', '>')) + '
' - }); - }; } }; });