From 099bbe99aa6a9dd9c9d047125855fef166cf2a0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 3 Apr 2021 02:15:22 +0200 Subject: [PATCH] qvm-template-gui: UX improvements - hide license, URL and summary - those are the same for all the templates, and not really useful for the user - remove repeated "Time" word from column headers - use full "Repository" word as the column header --- qubesmanager/qvm_template_gui.py | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/qubesmanager/qvm_template_gui.py b/qubesmanager/qvm_template_gui.py index 7c9f873..70920dc 100644 --- a/qubesmanager/qvm_template_gui.py +++ b/qubesmanager/qvm_template_gui.py @@ -26,9 +26,9 @@ class Template(typing.NamedTuple): size: int buildtime: str installtime: str - licence: str - url: str - summary: str + #licence: str + #url: str + #summary: str # ---- internal ---- description: str default_status: str @@ -38,13 +38,13 @@ class Template(typing.NamedTuple): 'Status', 'Name', 'Version', - 'Reponame', + 'Repository', 'Download Size (MB)', - 'Build Time', - 'Install Time', - 'License', - 'URL', - 'Summary' + 'Build', + 'Install', + #'License', + #'URL', + #'Summary' ] @staticmethod @@ -57,9 +57,8 @@ class Template(typing.NamedTuple): int(entry['size']) // 1000000, entry['buildtime'], entry['installtime'], - entry['license'], - entry['url'], - entry['summary'], + #entry['license'], + #entry['url'], entry['description'], status )