]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
node/apt updates: show full package description conditionally
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 3 Jun 2019 10:59:28 +0000 (12:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 3 Jun 2019 14:37:57 +0000 (16:37 +0200)
commit6895e13f391f86f383ffecbad9ef684734a6ba6f
treebc4b9b57d465e7bd19c5b23f3d0b39430338bbc5
parentacfbf255273c9e6fcbba04f9f8dbe6ac604bec84
node/apt updates: show full package description conditionally

The full package description is often quite long, and for upgrades
it's not relevant most of the time. But, it can be intresting to
have, if one wonders what a package is even used for.
So add a checkbox in the top bar which allows to switch between
showing and hiding the description, simply done by re-using the
'grid-row-body-hidden' ExtJS CSS class (got the idea from the
RowBody feature source code).
Default it to off, as it's better to not overwhelm users here with a
huge pile of text by default, showing the list of package with the
short one line title is enough most of the times, I'd guess.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Tim Marx <t.marx@proxmox.com>
node/APT.js