|
1 |
| -<%@ page contentType="text/html"%> |
| 1 | +<%@ page contentType="text/html" %> |
2 | 2 | <%@ page import="java.text.SimpleDateFormat" %>
|
3 | 3 | <%@ page import="org.apache.commons.lang3.StringUtils" %>
|
4 |
| -<html xmlns="http://www.w3.org/1999/xhtml" > |
| 4 | +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> |
5 | 5 | <head>
|
| 6 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
6 | 7 | <meta charset="UTF-8">
|
7 | 8 | <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
8 | 9 | <meta name="format-detection" content="telephone=no">
|
|
46 | 47 | }
|
47 | 48 |
|
48 | 49 | .main-shadow-div {
|
49 |
| - mso-table-lspace: 0pt; |
50 |
| - mso-table-rspace: 0pt; |
| 50 | + mso-table-lspace: 0; |
| 51 | + mso-table-rspace: 0; |
51 | 52 | box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
52 | 53 | width: 100%;
|
53 | 54 | max-width: 620px;
|
54 |
| - margin: 20px auto 0px; |
| 55 | + margin: 20px auto 0; |
55 | 56 | }
|
56 | 57 |
|
57 | 58 | .center-white-div{
|
|
81 | 82 | }
|
82 | 83 |
|
83 | 84 | .blog-thumbnail-div {
|
84 |
| - padding: 10px 0px 10px 0px; |
| 85 | + padding: 10px 0 10px 0; |
85 | 86 | align-items: center;
|
86 | 87 | max-width: 130px;
|
87 | 88 | }
|
|
191 | 192 | %{-- int responseCode = connection.responseCode--}%
|
192 | 193 | %{-- if (responseCode == 404) {--}%
|
193 | 194 | %{-- // Handle the case where the image URL returns a 404 status code--}%
|
194 |
| -%{-- out << "<img src=\"${grailsApplication.config.grails.serverURL + '/assets/email/no-img-av-ALAsilver.png'}\" height='80' alt='Sorry, no image availabe' > "--}% |
| 195 | +%{-- out << "<img src=\"${grailsApplication.config.grails.serverURL + '/assets/email/no-img-av-ALAsilver.png'}\" height='80' alt='Sorry, no image available' > "--}% |
195 | 196 | %{-- } else {--}%
|
196 | 197 | %{-- // Handle the case where the image URL returns a different status code--}%
|
197 | 198 | %{-- out << "<img src=\"${imageUrl}\" alt=\"${raw(blog.title.rendered)}\">"--}%
|
|
218 | 219 |
|
219 | 220 | <div class="button-div" >
|
220 | 221 | <a href="${grailsApplication.config.ala.baseURL + '/blog'}">
|
221 |
| - <button class="record-button" ><strong>All ALA news & updates</strong> |
| 222 | + <button class="record-button" ><strong>All ALA news & updates</strong> |
222 | 223 | </button>
|
223 | 224 | </a>
|
224 | 225 | </div>
|
|
237 | 238 | <area shape="rect" coords="100,0,180,100" href="https://csiro.au" alt="CSIRO">
|
238 | 239 | <area shape="rect" coords="180,0,300,100" href="https://www.gbif.org/" alt="GBIF">
|
239 | 240 | </map>
|
240 |
| - <p>You are receiving this email because you opted in to ALA blog alerts. |
| 241 | + <div>You are receiving this email because you opted in to ALA blog alerts. |
241 | 242 | <div>
|
242 | 243 | <p>Our mailing address is: </p>
|
243 | 244 | Atlas of Living Australia <br/> GPO Box 1700<br/> Canberra, ACT 2601<br/>Australia
|
244 | 245 | </div>
|
245 | 246 | <br>
|
246 | 247 | Don't want to receive these emails? You can <a href="${unsubscribeOne}" style="color: #C44D34;">unsubscribe</a>.
|
247 |
| - </p> |
| 248 | + </div> |
248 | 249 | </div>
|
249 | 250 | </div>
|
250 | 251 | </div>
|
|
0 commit comments