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
This commit is contained in:
parent
be4e2050a1
commit
099bbe99aa
@ -26,9 +26,9 @@ class Template(typing.NamedTuple):
|
|||||||
size: int
|
size: int
|
||||||
buildtime: str
|
buildtime: str
|
||||||
installtime: str
|
installtime: str
|
||||||
licence: str
|
#licence: str
|
||||||
url: str
|
#url: str
|
||||||
summary: str
|
#summary: str
|
||||||
# ---- internal ----
|
# ---- internal ----
|
||||||
description: str
|
description: str
|
||||||
default_status: str
|
default_status: str
|
||||||
@ -38,13 +38,13 @@ class Template(typing.NamedTuple):
|
|||||||
'Status',
|
'Status',
|
||||||
'Name',
|
'Name',
|
||||||
'Version',
|
'Version',
|
||||||
'Reponame',
|
'Repository',
|
||||||
'Download Size (MB)',
|
'Download Size (MB)',
|
||||||
'Build Time',
|
'Build',
|
||||||
'Install Time',
|
'Install',
|
||||||
'License',
|
#'License',
|
||||||
'URL',
|
#'URL',
|
||||||
'Summary'
|
#'Summary'
|
||||||
]
|
]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@ -57,9 +57,8 @@ class Template(typing.NamedTuple):
|
|||||||
int(entry['size']) // 1000000,
|
int(entry['size']) // 1000000,
|
||||||
entry['buildtime'],
|
entry['buildtime'],
|
||||||
entry['installtime'],
|
entry['installtime'],
|
||||||
entry['license'],
|
#entry['license'],
|
||||||
entry['url'],
|
#entry['url'],
|
||||||
entry['summary'],
|
|
||||||
entry['description'],
|
entry['description'],
|
||||||
status
|
status
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user