logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: 53d7b205e8539795f57ded3b8c4329f0f9bbee22
parent 99fbe0418a1bae703b6ae052c9ffd60c361f0249
Author: Phantasm <phantasm@centrum.cz>
Date:   Mon, 12 May 2025 16:17:32 +0200

Elixir 1.18 <%# deprecated syntax warning

    warning: <%# is deprecated, use <%!-- or add a space between <% and # instead
    │
  5 │       <%# Note: using hidden input with `unchecked_value` in order to distinguish user's empty selection from `scope` param being omitted %>
    │       ~
    │
    └─ lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex:5: (file)

Diffstat:

Mlib/pleroma/web/templates/email/digest.html.eex20++++++++++----------
Mlib/pleroma/web/templates/email/new_users_digest.html.eex10+++++-----
Mlib/pleroma/web/templates/layout/email_styled.html.eex4++--
Mlib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex2+-
4 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/lib/pleroma/web/templates/email/digest.html.eex b/lib/pleroma/web/templates/email/digest.html.eex @@ -231,8 +231,8 @@ </div> <%= for %{data: mention, object: object, from: from} <- @mentions do %> - <%# mention START %> - <%# user card START %> + <% # mention START %> + <% # user card START %> <div style="background-color:transparent;"> <div class="block-grid mixed-two-up no-stack" style="Margin: 0 auto; min-width: 320px; max-width: 590px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; background-color: <%= @styling.content_background_color%>;"> @@ -291,7 +291,7 @@ </div> </div> </div> - <%# user card END %> + <% # user card END %> <div style="background-color:transparent;"> <div class="block-grid" @@ -333,12 +333,12 @@ </div> </div> </div> - <%# mention END %> + <% # mention END %> <% end %> <%= if @followers != [] do %> - <%# new followers header START %> + <% # new followers header START %> <div style="background-color:transparent;"> <div class="block-grid" style="Margin: 0 auto; min-width: 320px; max-width: 590px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; background-color: <%= @styling.content_background_color%>;"> @@ -397,10 +397,10 @@ </div> </div> </div> - <%# new followers header END %> + <% # new followers header END %> <%= for %{data: follow, from: from} <- @followers do %> - <%# user card START %> + <% # user card START %> <div style="background-color:transparent;"> <div class="block-grid mixed-two-up no-stack" style="Margin: 0 auto; min-width: 320px; max-width: 590px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; background-color: <%= @styling.content_background_color%>;"> @@ -459,13 +459,13 @@ </div> </div> </div> - <%# user card END %> + <% # user card END %> <% end %> <% end %> - <%# divider start %> + <% # divider start %> <div style="background-color:transparent;"> <div class="block-grid" style="Margin: 0 auto; min-width: 320px; max-width: 590px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; background-color: <%= @styling.content_background_color%>;"> @@ -514,7 +514,7 @@ </div> </div> - <%# divider end %> + <% # divider end %> <div style="background-color:transparent;"> diff --git a/lib/pleroma/web/templates/email/new_users_digest.html.eex b/lib/pleroma/web/templates/email/new_users_digest.html.eex @@ -1,5 +1,5 @@ <%= for {user, total_statuses, latest_status} <- @users_and_statuses do %> - <%# user card START %> + <% # user card START %> <div style="background-color:transparent;"> <div class="block-grid mixed-two-up no-stack" style="Margin: 0 auto; min-width: 320px; max-width: 590px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; background-color: <%= @styling.content_background_color%>;"> @@ -60,7 +60,7 @@ </div> </div> </div> - <%# user card END %> + <% # user card END %> <%= if latest_status do %> <div style="background-color:transparent;"> @@ -104,7 +104,7 @@ </div> </div> <% end %> - <%# divider start %> + <% # divider start %> <div style="background-color:transparent;"> <div class="block-grid" style="Margin: 0 auto; min-width: 320px; max-width: 590px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; background-color: <%= @styling.content_background_color%>;"> @@ -153,6 +153,6 @@ </div> </div> - <%# divider end %> - <%# user card END %> + <% # divider end %> + <% # user card END %> <% end %> diff --git a/lib/pleroma/web/templates/layout/email_styled.html.eex b/lib/pleroma/web/templates/layout/email_styled.html.eex @@ -111,7 +111,7 @@ <td style="word-break: break-word; vertical-align: top;" valign="top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:<%= @styling.background_color %>"><![endif]--> - <%# header %> + <% # header %> <div style="background-color:transparent;"> <div class="block-grid" style="Margin: 0 auto; min-width: 320px; max-width: 590px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; background-color: <%= @styling.content_background_color%>;"> @@ -145,7 +145,7 @@ </div> - <%# title %> + <% # title %> <%= if @title do %> <div style="background-color:transparent;"> <div class="block-grid" diff --git a/lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex b/lib/pleroma/web/templates/o_auth/o_auth/_scopes.html.eex @@ -2,7 +2,7 @@ <%= label @form, :scope, Gettext.dpgettext("static_pages", "oauth scopes message", "The following permissions will be granted") %> <div class="scopes"> <%= for scope <- @available_scopes do %> - <%# Note: using hidden input with `unchecked_value` in order to distinguish user's empty selection from `scope` param being omitted %> + <% # Note: using hidden input with `unchecked_value` in order to distinguish user's empty selection from `scope` param being omitted %> <%= if scope in @scopes do %> <div class="scope"> <%= checkbox @form, :"scope_#{scope}", value: scope in @scopes && scope, checked_value: scope, unchecked_value: "", name: "authorization[scope][]" %>