Remove LNbits UI elements (#3064)
This commit is contained in:
parent
f7e984198b
commit
30a8d88ada
5 changed files with 9 additions and 6 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
filled
|
filled
|
||||||
type="text"
|
type="text"
|
||||||
v-model="formData.lnbits_site_title"
|
v-model="formData.lnbits_site_title"
|
||||||
:label="$t('ui_site_title')"
|
:label="$t('ui_site_title') + $t('ui_changing_remove_lnbits_elements')"
|
||||||
></q-input>
|
></q-input>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="'{{ LNBITS_DENOMINATION }}' == 'sats' && '{{ SITE_TITLE }}' == 'LNbits'"
|
v-if="'{{ LNBITS_DENOMINATION }}' == 'sats' && '{{ SITE_TITLE }}' == 'LNbits' && '{{ LNBITS_SHOW_HOME_PAGE_ELEMENTS }}' == 'True'"
|
||||||
class="full-width q-mb-lg q-mt-sm"
|
class="full-width q-mb-lg q-mt-sm"
|
||||||
>
|
>
|
||||||
<div class="flex flex-center q-gutter-md q-py-md">
|
<div class="flex flex-center q-gutter-md q-py-md">
|
||||||
|
|
@ -282,7 +282,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div
|
<div
|
||||||
v-if="'{{ LNBITS_DENOMINATION }}' == 'sats' && '{{ SITE_TITLE }}' == 'LNbits'"
|
v-if="'{{ LNBITS_DENOMINATION }}' == 'sats' && '{{ SITE_TITLE }}' == 'LNbits' && '{{ LNBITS_SHOW_HOME_PAGE_ELEMENTS }}' == 'True'"
|
||||||
class="full-width"
|
class="full-width"
|
||||||
>
|
>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
|
|
|
||||||
2
lnbits/static/bundle.min.js
vendored
2
lnbits/static/bundle.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -494,9 +494,11 @@ window.localisation.en = {
|
||||||
'Disable Service Fee for Internal Lightning Payments',
|
'Disable Service Fee for Internal Lightning Payments',
|
||||||
ui_management: 'UI Management',
|
ui_management: 'UI Management',
|
||||||
ui_site_title: 'Site Title',
|
ui_site_title: 'Site Title',
|
||||||
|
ui_changing_remove_lnbits_elements:
|
||||||
|
' (changing will remove LNbits elements on the homepage and footer)',
|
||||||
ui_site_tagline: 'Site Tagline',
|
ui_site_tagline: 'Site Tagline',
|
||||||
ui_elements_enable: 'Enable elements on homepage',
|
ui_elements_enable: 'Enable elements on homepage/footer',
|
||||||
ui_elements_disable: 'Disable elements on homepage',
|
ui_elements_disable: 'Disable elements on homepage/footer',
|
||||||
ui_toggle_elements_tip: "Remove homepage elements like 'runs on' etc",
|
ui_toggle_elements_tip: "Remove homepage elements like 'runs on' etc",
|
||||||
ui_site_description: 'Site Description',
|
ui_site_description: 'Site Description',
|
||||||
ui_site_description_hint: 'Use plain text, Markdown, or raw HTML',
|
ui_site_description_hint: 'Use plain text, Markdown, or raw HTML',
|
||||||
|
|
|
||||||
|
|
@ -343,6 +343,7 @@
|
||||||
{% endblock %} {% block footer %}
|
{% endblock %} {% block footer %}
|
||||||
|
|
||||||
<q-footer
|
<q-footer
|
||||||
|
v-if="'{{ SITE_TITLE }}' == 'LNbits' && '{{ LNBITS_SHOW_HOME_PAGE_ELEMENTS }}' == 'True'"
|
||||||
class="bg-transparent q-px-lg q-py-md"
|
class="bg-transparent q-px-lg q-py-md"
|
||||||
:class="{'text-dark': !$q.dark.isActive}"
|
:class="{'text-dark': !$q.dark.isActive}"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue