Commit 58f0be29 by Gabe Mulley Committed by GitHub

Merge pull request #15990 from edx/ret/compact-footer

Make the footer more visually compact
parents 6156fe92 acd50cfe
...@@ -20,7 +20,7 @@ email itself. --> ...@@ -20,7 +20,7 @@ email itself. -->
{# Note {view_url} is not a template variable that is evaluated by the Django template engine. It is evaluated by #} {# Note {view_url} is not a template variable that is evaluated by the Django template engine. It is evaluated by #}
{# Sailthru when the email is sent. Other email providers would need to replace this variable in the HTML as well. #} {# Sailthru when the email is sent. Other email providers would need to replace this variable in the HTML as well. #}
<a href="{view_url}">{% trans "View on Web" %}</a> <p><a href="{view_url}">{% trans "View on Web" %}</a></p>
{# Note this is another late-bound variable #} {# Note this is another late-bound variable #}
<img src="{beacon_src}" alt="" role="presentation" aria-hidden="true" /> <img src="{beacon_src}" alt="" role="presentation" aria-hidden="true" />
...@@ -87,113 +87,88 @@ email itself. --> ...@@ -87,113 +87,88 @@ email itself. -->
<table role="presentation" width="100%" align="left" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" width="100%" align="left" border="0" cellpadding="0" cellspacing="0">
<tr> <tr>
<td style="padding-bottom: 20px;"> <td style="padding-bottom: 20px;">
<!-- LOGO / SOCIAL --> <!-- SOCIAL -->
<table role="presentation" width="100%" align="left" border="0" cellpadding="0" cellspacing="0"> <table role="presentation" align="left" border="0" border="0" cellpadding="0" cellspacing="0" width="210">
<tr> <tr>
<td align="right"> {% if social_media_urls.linkedin %}
<!-- SOCIAL --> <td height="32" width="42">
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="210"> <a href="{{ social_media_urls.linkedin }}">
<tr> <img src="https://media.sailthru.com/595/1k1/8/o/599f354ec70cb.png"
{% if social_media_urls.linkedin %} width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on LinkedIn{% endblocktrans %}"/>
<td height="32" width="42" align="right"> </a>
<a href="{{ social_media_urls.linkedin }}"> </td>
<img src="https://media.sailthru.com/595/1k1/8/o/599f354ec70cb.png" {% endif %}
width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on LinkedIn{% endblocktrans %}"/> {% if social_media_urls.twitter %}
</a> <td height="32" width="42">
</td> <a href="{{ social_media_urls.twitter }}">
{% endif %} <img src="https://media.sailthru.com/595/1k1/8/o/599f354d9c26e.png"
{% if social_media_urls.twitter %} width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on Twitter{% endblocktrans %}"/>
<td height="32" width="42" align="right"> </a>
<a href="{{ social_media_urls.twitter }}"> </td>
<img src="https://media.sailthru.com/595/1k1/8/o/599f354d9c26e.png" {% endif %}
width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on Twitter{% endblocktrans %}"/> {% if social_media_urls.facebook %}
</a> <td height="32" width="42">
</td> <a href="{{ social_media_urls.facebook }}">
{% endif %} <img src="https://media.sailthru.com/595/1k1/8/o/599f355052c8e.png"
{% if social_media_urls.facebook %} width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on Facebook{% endblocktrans %}"/>
<td height="32" width="42" align="right"> </a>
<a href="{{ social_media_urls.facebook }}"> </td>
<img src="https://media.sailthru.com/595/1k1/8/o/599f355052c8e.png" {% endif %}
width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on Facebook{% endblocktrans %}"/> {% if social_media_urls.google_plus %}
</a> <td height="32" width="42">
</td> <a href="{{ social_media_urls.google_plus }}">
{% endif %} <img src="https://media.sailthru.com/595/1k1/8/o/599f354fc554a.png"
{% if social_media_urls.google_plus %} width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on Google Plus{% endblocktrans %}"/>
<td height="32" width="42" align="right"> </a>
<a href="{{ social_media_urls.google_plus }}"> </td>
<img src="https://media.sailthru.com/595/1k1/8/o/599f354fc554a.png" {% endif %}
width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on Google Plus{% endblocktrans %}"/> {% if social_media_urls.reddit %}
</a> <td height="32" width="42">
</td> <a href="{{ social_media_urls.reddit }}">
{% endif %} <img src="https://media.sailthru.com/595/1k1/8/o/599f354e326b9.png"
{% if social_media_urls.reddit %} width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on Reddit{% endblocktrans %}"/>
<td height="32" width="42" align="right"> </a>
<a href="{{ social_media_urls.reddit }}"> </td>
<img src="https://media.sailthru.com/595/1k1/8/o/599f354e326b9.png" {% endif %}
width="32" height="32" alt="{% blocktrans %}{{ platform_name }} on Reddit{% endblocktrans %}"/>
</a>
</td>
{% endif %}
</tr>
</table>
</td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
<tr> <tr>
<!-- ACTIONS / APP BUTTONS --> <!-- APP BUTTONS -->
<td> <td style="padding-bottom: 20px;">
<table role="presentation" width="100%" align="left" border="0" cellpadding="0" cellspacing="0"> {% if mobile_store_urls.apple %}
<tr> <a href="{{ mobile_store_urls.apple }}" style="text-decoration: none">
<td class="col" width="100%" align="center" valign="top"> <img src="https://media.sailthru.com/595/1k1/6/2/5931cfbba391b.png"
<table role="presentation" width="100%" align="left" border="0" cellpadding="0" cellspacing="0"> alt="{% trans "Download the iOS app on the Apple Store" %}"
<tr> width="136" height="50" style="margin-right: 10px"/>
<td style="padding-bottom: 10px;"> </a>
{# Note that this variable is evaluated by Sailthru, not the Django template engine #} {% endif %}
<a href="{optout_confirm_url}" style="color: #005686"> {% if mobile_store_urls.google %}
<font color="#005686"><b>{% trans "Unsubscribe from this list" %}</b></font> <a href="{{ mobile_store_urls.google }}" style="text-decoration: none">
</a> <img src="https://media.sailthru.com/595/1k1/6/2/5931cf879a033.png"
</td> alt="{% trans "Download the Android app on the Google Play Store" %}"
</tr> width="136" height="50"/>
</table> </a>
</td> {% endif %}
<!-- APP BUTTONS --> </td>
<td class="col" width="148" valign="top" align="right" style="padding-bottom: 20px;"> </tr>
{% if mobile_store_urls.apple %} <tr>
<a href="{{ mobile_store_urls.apple }}" style="text-decoration: none"> <!-- Actions -->
<img src="https://media.sailthru.com/595/1k1/6/2/5931cfbba391b.png" <td style="padding-bottom: 20px;">
alt="{% trans "Download the iOS app on the Apple Store" %}" width="136" height="50"/> {# Note that this variable is evaluated by Sailthru, not the Django template engine #}
</a> <a href="{optout_confirm_url}" style="color: #005686">
{% endif %} <font color="#005686"><b>{% trans "Unsubscribe from this list" %}</b></font>
{% if mobile_store_urls.google %} </a>
<a href="{{ mobile_store_urls.google }}" style="text-decoration: none">
<img src="https://media.sailthru.com/595/1k1/6/2/5931cf879a033.png"
alt="{% trans "Download the Android app on the Google Play Store" %}"
width="136" height="50" style="margin: 10px 0 0 5px"/>
</a>
{% endif %}
</td>
</tr>
</table>
</td> </td>
</tr> </tr>
<tr> <tr>
<!-- COPYRIGHT --> <!-- COPYRIGHT -->
<td> <td>
<table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%"> &copy; {% now "Y" %} {{ platform_name }}, {% trans "All rights reserved" %}.<br/>
<tr> <br/>
<td> {% trans "Our mailing address is" %}:<br/>
<p> {{ contact_mailing_address }}
&copy; {% now "Y" %} {{ platform_name }}, {% trans "All rights reserved" %}.
</p>
<p>
{% trans "Our mailing address is" %}:<br/>
{{ contact_mailing_address }}
</p>
</td>
</tr>
</table>
</td> </td>
</tr> </tr>
</table> </table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment