"Powered By" footer text is now configurable
-Added a new "powered_by_text" option to the page_footer settings which can be used to override the text in the middle of the footer without the need to modify the source code -The word "Explorer" was removed from the powered by text for new installs
This commit is contained in:
+4
-1
@@ -379,7 +379,10 @@ exports.shared_pages = {
|
||||
// social_link_percent_height_tablet: Forced social link height percentage value for tablet screens
|
||||
"social_link_percent_height_tablet": 42,
|
||||
// social_link_percent_height_mobile: Forced social link height percentage value for mobile screens
|
||||
"social_link_percent_height_mobile": 40
|
||||
"social_link_percent_height_mobile": 40,
|
||||
// powered_by_text: Customize the "powered by" text in the center of the footer with some custom html
|
||||
// NOTE: Add the keyword {explorer_version} to display the current version number of the explorer
|
||||
"powered_by_text": "<a class='nav-link poweredby' href='https://github.com/team-exor/eiquidus' target='_blank'>eIquidus Explorer v{explorer_version}</a>"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -463,7 +463,10 @@
|
||||
// social_link_percent_height_tablet: Forced social link height percentage value for tablet screens
|
||||
"social_link_percent_height_tablet": 42,
|
||||
// social_link_percent_height_mobile: Forced social link height percentage value for mobile screens
|
||||
"social_link_percent_height_mobile": 40
|
||||
"social_link_percent_height_mobile": 40,
|
||||
// powered_by_text: Customize the "powered by" text in the center of the footer with some custom html
|
||||
// NOTE: Add the keyword {explorer_version} to display the current version number of the explorer
|
||||
"powered_by_text": "<a class='nav-link poweredby' href='https://github.com/team-exor/eiquidus' target='_blank'>eIquidus v{explorer_version}</a>"
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
+1
-1
@@ -1341,7 +1341,7 @@ html(lang='en')
|
||||
ul.nav.justify-content-center
|
||||
li.text-center
|
||||
p
|
||||
a.nav-link.poweredby.border-0(href='https://github.com/team-exor/eiquidus', target='_blank') eIquidus Explorer v#{settings.explorer_version}#{(settings.revision == null || settings.revision == '' ? '' : `-${settings.revision}`)}
|
||||
| !{settings.shared_pages.page_footer.powered_by_text.replace('{explorer_version}', settings.explorer_version + (settings.revision == null || settings.revision == '' ? '' : `-${settings.revision}`))}
|
||||
.col-4.navbar-nav
|
||||
ui.nav.justify-content-end
|
||||
label#lblBlockcount.badge.nav-link.border-0.float-end
|
||||
|
||||
Reference in New Issue
Block a user