Fix email protocol - Change to use svg logo
This commit is contained in:
parent
6dcd3ed0c9
commit
d93767abdd
51 changed files with 36 additions and 80 deletions
|
@ -1,6 +1,6 @@
|
|||
<li class="status-row" id="lobby_row">
|
||||
<div class="status-container">
|
||||
<img src="{{ static('icons/logo.png') }}" style="height:1.3em">
|
||||
<img src="{{ static('icons/logo.svg') }}" style="height:1.3em">
|
||||
</div>
|
||||
<span style="padding-left:0.5em">
|
||||
<b>{{_('Lobby')}}</b>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</div>
|
||||
{% else %}
|
||||
<div class="status-container" style="height: 3em;">
|
||||
<img src="{{ static('icons/logo.png') }}" class="info-pic" style="border-radius: 0px;">
|
||||
<img src="{{ static('icons/logo.svg') }}" class="info-pic" style="border-radius: 0px;">
|
||||
</div>
|
||||
{% endif %}
|
||||
<span class="info-name username">
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<div style="max-width: 600px; margin: 0 auto; padding: 20px; background-color: #ffffff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);">
|
||||
<div style="text-align: center; margin-bottom: 20px;">
|
||||
<img src="{{ protocol }}://{{ domain }}{{static('icons/logo.png')}}" alt="{{site_name}}" style="max-width: 150px;">
|
||||
<img src="{{ DMOJ_SCHEME }}://{{ domain }}{{static('icons/logo.svg')}}" alt="{{site_name}}" style="max-width: 150px;">
|
||||
</div>
|
||||
<div style="margin-bottom: 20px; text-align: center;">
|
||||
<h2>{{title}}</h2>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<div class="organization-container toggled">
|
||||
{% for org in queryset %}
|
||||
<a href="{{ org.get_absolute_url() }}" class="organization-row" title="{{org.about}}">
|
||||
<img class="org-logo" loading="lazy" src="{{ org.logo_override_image or static('icons/icon.png') }}">
|
||||
<img class="org-logo" loading="lazy" src="{{ org.logo_override_image or static('icons/logo.svg') }}">
|
||||
<span style="margin-right: auto">{{ org.name }}</span>
|
||||
<span style="font-weight: normal"><i>{{ org.member_count }} {{_('members')}}</i></span>
|
||||
</a>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<div class="toggled sidebox-content">
|
||||
{% for organization in recent_organizations %}
|
||||
<a href="{{ url('organization_home', organization.organization.pk, organization.organization.slug) }}" class="organization-row" title="{{organization.organization.about}}">
|
||||
<img class="org-logo" loading="lazy" src="{{ organization.organization.logo_override_image or static('icons/icon.png') }}">
|
||||
<img class="org-logo" loading="lazy" src="{{ organization.organization.logo_override_image or static('icons/icon.svg') }}">
|
||||
<span style="word-break: break-word;">{{ organization.organization }}</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
{% set username = user.get_username() %}
|
||||
{% set button_text = _("Activate") %}
|
||||
{% set domain = site.domain %}
|
||||
{% set protocol = "http" %}
|
||||
{% include "general_email.html" %}
|
||||
<br>
|
||||
{{_("Alternatively, you can reply to this message to activate your account. Your reply must keep the following text intact for this to work:")}}
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
{% elif logo_override_image is defined and logo_override_image %}
|
||||
<img src="{{ logo_override_image|camo }}" alt="{{ SITE_NAME }}" height="44" style="border: none">
|
||||
{% else %}
|
||||
<img src="{{ static('icons/logo.png') }}" alt="{{ SITE_NAME }}" height="44"
|
||||
<img src="{{ static('icons/logo.svg') }}" alt="{{ SITE_NAME }}" height="44"
|
||||
onerror="this.src="{{ static('icons/logo.png') }}"; this.onerror=null" style="border: none">
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue