Remove LNbits UI elements (#3064)

This commit is contained in:
Arc 2025-03-22 21:08:26 +00:00 committed by GitHub
parent f7e984198b
commit 30a8d88ada
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 9 additions and 6 deletions

View file

@ -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>

View file

@ -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">

File diff suppressed because one or more lines are too long

View file

@ -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',

View file

@ -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}"
> >