public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH] ui tasks: use view task instead of open task
@ 2024-11-18 10:49 Aaron Lauterer
  0 siblings, 0 replies; only message in thread
From: Aaron Lauterer @ 2024-11-18 10:49 UTC (permalink / raw)
  To: pbs-devel

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 <a.lauterer@proxmox.com>
---
Matching patches for PVE in the pve-devel list:
https://lore.proxmox.com/pve-devel/20241118104530.91798-1-a.lauterer@proxmox.com/T/#t

 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);
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-18 10:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-18 10:49 [pbs-devel] [PATCH] ui tasks: use view task instead of open task Aaron Lauterer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal