From e98e96290452286e8a9704f93105ea81877eabb0 Mon Sep 17 00:00:00 2001 From: Aaron Lauterer Date: Mon, 18 Nov 2024 11:49:59 +0100 Subject: [PATCH] ui tasks: use view task instead of open task This aligns the tooltips to how we have in in Proxmox VE. Using "view" instead of "open" should make it clear, that this is a safe read-only action. Signed-off-by: Aaron Lauterer Link: https://lore.proxmox.com/20241118104959.95159-1-a.lauterer@proxmox.com --- www/dashboard/LongestTasks.js | 2 +- www/dashboard/RunningTasks.js | 2 +- www/dashboard/TaskSummary.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/dashboard/LongestTasks.js b/www/dashboard/LongestTasks.js index 20cf1183..f405b98f 100644 --- a/www/dashboard/LongestTasks.js +++ b/www/dashboard/LongestTasks.js @@ -100,7 +100,7 @@ Ext.define('PBS.LongestTasks', { items: [ { iconCls: 'fa fa-chevron-right', - tooltip: gettext('Open Task'), + tooltip: gettext('View Task'), handler: 'openTaskActionColumn', }, ], diff --git a/www/dashboard/RunningTasks.js b/www/dashboard/RunningTasks.js index 4529d0d3..20a7c51e 100644 --- a/www/dashboard/RunningTasks.js +++ b/www/dashboard/RunningTasks.js @@ -95,7 +95,7 @@ Ext.define('PBS.RunningTasks', { items: [ { iconCls: 'fa fa-chevron-right', - tooltip: gettext('Open Task'), + tooltip: gettext('View Task'), handler: 'openTaskActionColumn', }, ], diff --git a/www/dashboard/TaskSummary.js b/www/dashboard/TaskSummary.js index 68f6f6ef..684a18f0 100644 --- a/www/dashboard/TaskSummary.js +++ b/www/dashboard/TaskSummary.js @@ -109,7 +109,7 @@ Ext.define('PBS.TaskSummary', { items: [ { iconCls: 'fa fa-chevron-right', - tooltip: gettext('Open Task'), + tooltip: gettext('View Task'), handler: function(g, rowIndex) { let rec = tasklist.getStore().getAt(rowIndex); tasklist.setVisible(false);