hide USO-archive version in manager
* it's a hard-to-read blob of digits: 2021110.8.46 * it's somewhat redundant as we have the 'update age' column
This commit is contained in:
parent
c12d3fc5e3
commit
34c067c3be
|
@ -361,6 +361,7 @@ a:hover {
|
||||||
padding-left: .5em;
|
padding-left: .5em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
.newUI .style-info[data-type=version][data-is-date],
|
||||||
.newUI .style-info[data-type=version][data-value=""],
|
.newUI .style-info[data-type=version][data-value=""],
|
||||||
.newUI .style-info[data-type=version][data-value="1.0.0"] {
|
.newUI .style-info[data-type=version][data-value="1.0.0"] {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* global $ $$ animateElement scrollElementIntoView */// dom.js
|
/* global $ $$ animateElement scrollElementIntoView */// dom.js
|
||||||
/* global API */// msg.js
|
/* global API */// msg.js
|
||||||
/* global debounce isEmptyObj sessionStore */// toolbox.js
|
/* global URLS debounce isEmptyObj sessionStore */// toolbox.js
|
||||||
/* global filterAndAppend */// filters.js
|
/* global filterAndAppend */// filters.js
|
||||||
/* global installed newUI */// manage.js
|
/* global installed newUI */// manage.js
|
||||||
/* global prefs */
|
/* global prefs */
|
||||||
|
@ -83,6 +83,11 @@ function createStyleElement({style, name: nameLC}) {
|
||||||
parts.homepage.href = parts.homepage.title = style.url || '';
|
parts.homepage.href = parts.homepage.title = style.url || '';
|
||||||
parts.infoVer.textContent = ud ? ud.version : '';
|
parts.infoVer.textContent = ud ? ud.version : '';
|
||||||
parts.infoVer.dataset.value = ud ? ud.version : '';
|
parts.infoVer.dataset.value = ud ? ud.version : '';
|
||||||
|
if (`${style.updateUrl}`.startsWith(URLS.usoArchiveRaw)) {
|
||||||
|
parts.infoVer.dataset.isDate = '';
|
||||||
|
} else {
|
||||||
|
delete parts.infoVer.dataset.isDate;
|
||||||
|
}
|
||||||
if (newUI.enabled) {
|
if (newUI.enabled) {
|
||||||
createAgeText(parts.infoAge, style);
|
createAgeText(parts.infoAge, style);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user