This commit is contained in:
Mirco Wittrien 2021-05-12 14:47:25 +02:00
parent c8e94490e2
commit 2379eacc2a
2 changed files with 25 additions and 27 deletions

View File

@ -7675,7 +7675,7 @@ module.exports = (_ => {
if (plugin && (plugin == libraryInstance || plugin.name && plugin.name && PluginStores.loaded[plugin.name] && PluginStores.loaded[plugin.name] == plugin)) { if (plugin && (plugin == libraryInstance || plugin.name && plugin.name && PluginStores.loaded[plugin.name] && PluginStores.loaded[plugin.name] == plugin)) {
let url = InternalBDFDB.getPluginURL(plugin); let url = InternalBDFDB.getPluginURL(plugin);
let controls = []; let controls = [];
let footerControls = card.querySelector("." + BDFDB.disCN._repofooter.split(" ")[0] + " " + BDFDB.dotCN._repocontrols); let footerControls = card.querySelector(BDFDB.dotCNS._repofooter + BDFDB.dotCN._repocontrols);
if (plugin.changeLog) controls.push(InternalBDFDB.createCustomControl({ if (plugin.changeLog) controls.push(InternalBDFDB.createCustomControl({
tooltipText: BDFDB.LanguageUtils.LanguageStrings.CHANGE_LOG, tooltipText: BDFDB.LanguageUtils.LanguageStrings.CHANGE_LOG,
svgName: InternalComponents.LibraryComponents.SvgIcon.Names.CHANGELOG, svgName: InternalComponents.LibraryComponents.SvgIcon.Names.CHANGELOG,

View File

@ -714,26 +714,20 @@
}, },
"BD": { "BD": {
"bdAddonCard": "bd-addon-card", "bdAddonCard": "bd-addon-card",
"bdAddonList": "bd-addon-list",
"bdAddonModal": "bd-addon-modal", "bdAddonModal": "bd-addon-modal",
"bdAddonModalFooter": "bd-addon-modal-footer", "bdAddonModalFooter": "bd-addon-modal-footer",
"bdAddonModalHeader": "bd-addon-modal-header", "bdAddonModalHeader": "bd-addon-modal-header",
"bdAddonModalSettings": "bd-addon-modal-settings", "bdAddonModalSettings": "bd-addon-modal-settings",
"bdAuthor": "bd-author",
"bdButton": "bd-button", "bdButton": "bd-button",
"bdButtonDanger": "bd-button-danger", "bdButtonDanger": "bd-button-danger",
"bdControls": "bd-controls", "bdControls": "bd-controls",
"bdControlsButton": "bd-addon-button", "bdControlsButton": "bd-addon-button",
"bdaAuthor": "bd-author author bda-author", "bdDescription": "bd-description",
"bdaDescription": "bd-scroller bd-description bd-addon-description bda-description scroller", "bdDescriptionWrap": "bd-description-wrap",
"bdaDescriptionWrap": "bd-scroller-wrap bd-description-wrap bda-description-wrap scroller-wrap fade", "bdFolderButton": "bd-pfbtn",
"bdaFooter": "bd-footer bd-card-footer bda-footer", "bdFooter": "bd-footer",
"bdaHeader": "bd-addon-header bda-header",
"bdaHeaderTitle": "bd-title bd-card-title bda-header-title",
"bdaLink": "bd-link bda-link",
"bdaLinks": "bd-links bd-addon-links bda-links",
"bdaName": "bd-name name bda-name",
"bdaSettingsButton": "bd-button bda-settings-button",
"bdaSlist": "bda-slist bd-addon-list",
"bdaVersion": "bd-version version bda-version",
"bdGuild": "bd-guild", "bdGuild": "bd-guild",
"bdGuildAnimatable": "bd-animatable", "bdGuildAnimatable": "bd-animatable",
"bdGuildAudio": "bd-audio", "bdGuildAudio": "bd-audio",
@ -741,16 +735,21 @@
"bdGuildSeparator": "bd-guild-separator", "bdGuildSeparator": "bd-guild-separator",
"bdGuildUnread": "bd-unread", "bdGuildUnread": "bd-unread",
"bdGuildVideo": "bd-video", "bdGuildVideo": "bd-video",
"bdHeader": "bd-addon-header",
"bdHeaderTitle": "bd-title",
"bdIcon": "bd-icon", "bdIcon": "bd-icon",
"bdLink": "bd-link",
"bdLinks": "bd-links",
"bdMeta": "bd-meta", "bdMeta": "bd-meta",
"bdMinimalMode": "bd-minimal", "bdMinimalMode": "bd-minimal",
"bdName": "bd-name",
"bdPillSelected": "bd-selected", "bdPillSelected": "bd-selected",
"bdPillUnread": "bd-unread", "bdPillUnread": "bd-unread",
"bdPfbtn": "bd-pfbtn",
"bdSwitch": "bd-switch", "bdSwitch": "bd-switch",
"bdSwitchChecked": "bd-switch-checked", "bdSwitchChecked": "bd-switch-checked",
"bdSwitchInner": "bd-checkbox", "bdSwitchInner": "bd-checkbox",
"bdUpdatebtn": "bd-updatebtn", "bdUpdatebtn": "bd-updatebtn",
"bdVersion": "bd-version",
"settings": "plugin-settings", "settings": "plugin-settings",
"settingsOpen": "settings-open", "settingsOpen": "settings-open",
"settingsClosed": "settings-closed", "settingsClosed": "settings-closed",
@ -1442,7 +1441,7 @@
"_toproleseverywhererolestyle": ["TopRolesEverywhere", "roleStyle"], "_toproleseverywhererolestyle": ["TopRolesEverywhere", "roleStyle"],
"_toproleseverywheretag": ["TopRolesEverywhere", "tag"], "_toproleseverywheretag": ["TopRolesEverywhere", "tag"],
"_toproleseverywherevoicetag": ["TopRolesEverywhere", "voiceTag"], "_toproleseverywherevoicetag": ["TopRolesEverywhere", "voiceTag"],
"_repoauthor": ["BD", "bdaAuthor"], "_repoauthor": ["BD", "bdAuthor"],
"_repobutton": ["BD", "bdButton"], "_repobutton": ["BD", "bdButton"],
"_repobuttondanger": ["BD", "bdButtonDanger"], "_repobuttondanger": ["BD", "bdButtonDanger"],
"_repocard": ["BD", "bdAddonCard"], "_repocard": ["BD", "bdAddonCard"],
@ -1454,36 +1453,35 @@
"_repocontrols": ["BD", "bdControls"], "_repocontrols": ["BD", "bdControls"],
"_repocontrolsbutton": ["BD", "bdControlsButton"], "_repocontrolsbutton": ["BD", "bdControlsButton"],
"_repocontrolscustom": ["BDFDB", "bdControlsCustom"], "_repocontrolscustom": ["BDFDB", "bdControlsCustom"],
"_repodescription": ["BD", "bdaDescription"], "_repodescription": ["BD", "bdDescription"],
"_repodescriptionwrap": ["BD", "bdaDescriptionWrap"], "_repodescriptionwrap": ["BD", "bdDescriptionWrap"],
"_repoentry": ["BDFDB", "bdRepoEntry"], "_repoentry": ["BDFDB", "bdRepoEntry"],
"_repofolderbutton": ["BD", "bdPfbtn"], "_repofolderbutton": ["BD", "bdFolderButton"],
"_repofooter": ["BD", "bdaFooter"], "_repofooter": ["BD", "bdFooter"],
"_repofootercontrols": ["BDFDB", "bdRepoFooterControls"], "_repofootercontrols": ["BDFDB", "bdRepoFooterControls"],
"_repoheader": ["BD", "bdaHeader"], "_repoheader": ["BD", "bdHeader"],
"_repoheadercontrols": ["BDFDB", "bdRepoHeaderControls"], "_repoheadercontrols": ["BDFDB", "bdRepoHeaderControls"],
"_repoheadertitle": ["BD", "bdaHeaderTitle"], "_repoheadertitle": ["BD", "bdHeaderTitle"],
"_repoicon": ["BD", "bdIcon"], "_repoicon": ["BD", "bdIcon"],
"_repolist": ["BD", "bdaSlist"], "_repolist": ["BD", "bdAddonList"],
"_repolistheader": ["BDFDB", "bdRepoListHeader"], "_repolistheader": ["BDFDB", "bdRepoListHeader"],
"_repolistwrapper": ["BDFDB", "bdRepoListWrapper"], "_repolistwrapper": ["BDFDB", "bdRepoListWrapper"],
"_repolink": ["BD", "bdaLink"], "_repolink": ["BD", "bdLink"],
"_repolinks": ["BD", "bdaLinks"], "_repolinks": ["BD", "bdLinks"],
"_repometa": ["BD", "bdMeta"], "_repometa": ["BD", "bdMeta"],
"_repomodal": ["BD", "bdAddonModal"], "_repomodal": ["BD", "bdAddonModal"],
"_repomodalfooter": ["BD", "bdAddonModalFooter"], "_repomodalfooter": ["BD", "bdAddonModalFooter"],
"_repomodalheader": ["BD", "bdAddonModalHeader"], "_repomodalheader": ["BD", "bdAddonModalHeader"],
"_repomodalsettings": ["BD", "bdAddonModalSettings"], "_repomodalsettings": ["BD", "bdAddonModalSettings"],
"_reponame": ["BD", "bdaName"], "_reponame": ["BD", "bdName"],
"_reposettings": ["BD", "settings"], "_reposettings": ["BD", "settings"],
"_reposettingsbutton": ["BD", "bdaSettingsButton"],
"_reposettingsopen": ["BD", "settingsOpen"], "_reposettingsopen": ["BD", "settingsOpen"],
"_reposettingsclosed": ["BD", "settingsClosed"], "_reposettingsclosed": ["BD", "settingsClosed"],
"_reposwitch": ["BD", "bdSwitch"], "_reposwitch": ["BD", "bdSwitch"],
"_reposwitchchecked": ["BD", "bdSwitchChecked"], "_reposwitchchecked": ["BD", "bdSwitchChecked"],
"_reposwitchinner": ["BD", "bdSwitchInner"], "_reposwitchinner": ["BD", "bdSwitchInner"],
"_repoupdatebutton": ["BD", "bdUpdatebtn"], "_repoupdatebutton": ["BD", "bdUpdatebtn"],
"_repoversion": ["BD", "bdaVersion"], "_repoversion": ["BD", "bdVersion"],
"accountinfo": ["AccountDetails", "container"], "accountinfo": ["AccountDetails", "container"],
"accountinfoavatar": ["AccountDetails", "avatar"], "accountinfoavatar": ["AccountDetails", "avatar"],
"accountinfoavatarwrapper": ["AccountDetails", "avatarWrapper"], "accountinfoavatarwrapper": ["AccountDetails", "avatarWrapper"],