luci: Show package version with release number (exclude r1)

This commit is contained in:
remittor
2025-12-18 11:30:16 +03:00
parent a616c6fa4e
commit 40084f0762
2 changed files with 26 additions and 17 deletions

View File

@@ -400,7 +400,7 @@ return view.extend({
poll.add(L.bind(this.statusPoll, this));
let page_title = _('Zapret');
let pkgdict = tools.decode_pkg_list(pkg_list.stdout);
let pkgdict = tools.decode_pkg_list(pkg_list.stdout, false);
page_title += ' &nbsp ';
if (pkgdict['zapret'] === undefined || pkgdict['zapret'] == '') {
page_title += 'unknown version';