summaryrefslogtreecommitdiff
path: root/app/lttr
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf>2021-03-05 10:21:30 -0500
committerluxagraf <sng@luxagraf>2021-03-05 10:21:30 -0500
commit2554e5f64ce49348e0b90acaac0e4498687c816f (patch)
tree205b3f180ac686e0d9762e477c65cf28a3f370bd /app/lttr
parentd171c2e03cb1532152072474c14b509005a912ff (diff)
lttr: moved test range template changes to actual range template
Diffstat (limited to 'app/lttr')
-rw-r--r--app/lttr/templates/lttr/emails/range_html_email.html10
-rw-r--r--app/lttr/templates/lttr/range_detail.html2
2 files changed, 4 insertions, 8 deletions
diff --git a/app/lttr/templates/lttr/emails/range_html_email.html b/app/lttr/templates/lttr/emails/range_html_email.html
index 139ff33..0b94a68 100644
--- a/app/lttr/templates/lttr/emails/range_html_email.html
+++ b/app/lttr/templates/lttr/emails/range_html_email.html
@@ -57,7 +57,7 @@ sub {
top: 0.4em;
}
img {
- max-width: 100%;
+ width: 846px;
}
p img.fullbleed { margin-bottom: 0px; }
.collapse {
@@ -160,14 +160,10 @@ ul li, ol li {
@media only screen and (max-width: 700px) {
a[class="btn"] { display:block!important; margin-bottom:10px!important; background-image:none!important; margin-right:0!important;}
- img.fullbleed { margin-bottom: 1.5em; width: 100%; height: auto !important; }
p { font-size: 16px;}
h1 { font-size: 36px; }
div[class="column"] { width: auto!important; float:none!important;}
- table.social div[class="column"] {
- width:auto!important;
- }
}
</style>
@@ -193,7 +189,7 @@ ul li, ol li {
<br style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;" />
<br style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;" />
- {{object.body_email_html|safe|smartypants}}
+ If you'd like to view a larger version, read some backstory, and see a video of the development process in Darktable, head on over to: <a href="https://luxagraf.net{{object.get_absolute_url}}">https://luxagraf.net{{object.get_absolute_url}}</a>
<hr style="padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;width:50%;margin-top:40px;margin-bottom:40px;margin-right:auto;margin-left:auto;border-width:0;border-top-width:1px;border-top-style:solid;border-top-color:#ddd;" />
</td>
@@ -230,7 +226,7 @@ ul li, ol li {
<br style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;" />
<p style="margin-top:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;margin-bottom:1.4em;font-weight:400;line-height:1.5;hyphens:auto;font-size:14px;" >If you enjoy this, <br style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;" />
please consider forwarding it to a friend.</p>
- <p style="margin-top:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;margin-bottom:1.4em;font-weight:400;line-height:1.5;hyphens:auto;font-size:14px;" >⫹⫺</p>
+ <p style="margin-top:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;margin-bottom:1.4em;font-weight:400;line-height:1.5;hyphens:auto;font-size:14px;" >✪ </p>
<p style="margin-top:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;font-weight:normal;margin-bottom:1.4em;line-height:1.5;hyphens:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif !important;color:#999;font-size:14px;" >You can always: <a href="https://luxagraf.net{{subscriber.unsubscribe_activate_url}}" style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;font-weight:600;text-decoration:underline;color:#999 !important;" >Unsubscribe</a> instantly.</p>
</td>
</tr>
diff --git a/app/lttr/templates/lttr/range_detail.html b/app/lttr/templates/lttr/range_detail.html
index c17ccc7..b520d79 100644
--- a/app/lttr/templates/lttr/range_detail.html
+++ b/app/lttr/templates/lttr/range_detail.html
@@ -138,7 +138,7 @@
<div>{% if prev%}
<span class="label">Previous:</span>
<a href="{{ prev.get_absolute_url }}" rel="prev" title=" {{prev.title}}">{{prev.title|safe}}</a>
- </div>{%endif%}{% if next%}
+ </div>{%endif%}{% if next %}
<div>
<span class="label">Next:</span>
<a href="{{ next.get_absolute_url }}" rel="next" title=" {{next.title}}">{{next.title|safe}}</a>