Skip to content

Commit

Permalink
fix: Do not show the lilo prompt in countries where it's unsupported (#…
Browse files Browse the repository at this point in the history
…8236)

* fix: Do not show the lilo prompt in countries where it's unsupported

* add <h3> inside if
  • Loading branch information
jnsereko committed Mar 23, 2023
1 parent b5a7994 commit fd4ee43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions templates/web/pages/session/signed_in.tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
<p>[% lang('hello')%] [% user_name %]!</p>

[% IF !server_options_producers_platform %]
<h3>[% lang('you_can_also_help_us') %]</h3>
<p>[% lang('bottom_content') %]</p>
[% IF lc == "en" or lc == "fr" %]
<h3>[% lang('you_can_also_help_us') %]</h3>
<p>[% lang('bottom_content') %]</p>
[% END %]
[% ELSE %]

<h3>[% lang("resources") %]</h3>
Expand Down
6 changes: 4 additions & 2 deletions templates/web/pages/user_form/user_form_page.tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,10 @@
<!-- Do not display donate link on producers platform -->

[% IF !(server_options_producers_platform) %]
<h3>[% lang("you_can_also_help_us") %]</h3>
<p>[% lang("bottom_content") %]</p>
[% IF lc == "en" or lc == "fr" %]
<h3>[% lang("you_can_also_help_us") %]</h3>
<p>[% lang("bottom_content") %]</p>
[% END %]
[% END %]

[% END %]
Expand Down

0 comments on commit fd4ee43

Please sign in to comment.