Skip to content

Commit

Permalink
Merge pull request #4 from jwade1327/changes
Browse files Browse the repository at this point in the history
Change name of LabPulse newsletter & make layout adjustments
  • Loading branch information
jwade1327 authored Sep 29, 2022
2 parents e6c48ad + 6df48e5 commit edbf617
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/common/components/blocks/content/list.marko
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $ const queryParams = {
date: date.valueOf(),
newsletterId: newsletter.id,
sectionName,
limit: input.limit || 3,
limit: input.limit,
skip: input.skip || 0,
queryFragment,
};
Expand Down
8 changes: 4 additions & 4 deletions packages/common/components/blocks/footer.marko
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ $ const stealthLinkStyle = {
<common-table-spacer-element height="16" />
</if>

<tr>
<!-- <tr>
<td align="left" valign="top" style=standardStyle>
Sign up
</td>
Expand All @@ -118,7 +118,7 @@ $ const stealthLinkStyle = {
</a>
</td>
</tr>
<common-table-spacer-element height="21" />
<common-table-spacer-element height="21" /> -->

$ const contactLinks = getAsArray(newsletterConfig, "contactLinks");
<if(contactLinks.length)>
Expand Down Expand Up @@ -147,14 +147,14 @@ $ const stealthLinkStyle = {
You are receiving this email because you subscribed to receive relevant news from ${publicationName}.
</td>
</tr>
<common-table-spacer-element height="19" />
<!-- <common-table-spacer-element height="19" />
<tr>
<td align="left" valign="top" style=smallerStyle>
<a href="@{confirmunsubscribelink}@" style=smallerUnderlineStyle>
Unsubscribe here
</a>
</td>
</tr>
</tr> -->
<common-table-spacer-element height="19" />
<tr>
<td align="left" valign="top" style=smallerStyle>
Expand Down
3 changes: 2 additions & 1 deletion packages/common/components/blocks/view-online.marko
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ $ const { website } = out.global;
<common-table-spacer-element height="13" />
<tr>
<td align="center" valign="middle" style="font-size:15px;line-height:19px; color:#62626c;font-weight:400;">
<a href="@{mv_online_version}@" style="text-decoration: none;color: #62626c;">View in browser</a> &nbsp; | &nbsp; <a href=website.get("origin") style="text-decoration: none;color: #62626c;">${website.get("name")}</a>
<!-- <a href="@{mv_online_version}@" style="text-decoration: none;color: #62626c;">View in browser</a> &nbsp; | &nbsp; -->
<a href=website.get("origin") style="text-decoration: none;color: #62626c;">${website.get("name")}</a>
</td>
</tr>
<common-table-spacer-element height="10" />
Expand Down
16 changes: 2 additions & 14 deletions packages/common/components/layouts/standard.marko
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ $ const nativeX = config.getAsObject("nativeX");
date=date
section-name="Main"
newsletter=newsletter
with-image=true
image-position="right"
continue-reading=true
with-image=false
with-section=true
limit=1
skip=1
/>
Expand All @@ -60,17 +59,6 @@ $ const nativeX = config.getAsObject("nativeX");
with-image=false
with-section=true
skip=2
limit=1
/>

<common-content-list-block
date=date
section-name="Main"
newsletter=newsletter
with-image=false
continue-reading=true
skip=3
limit=1
/>

<!-- Content list block -->
Expand Down
4 changes: 2 additions & 2 deletions tenants/all/config/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ const config = {
enabled: true,
},
},
'lab-pulse-insight': {
'letter-from-the-editor': {
...brands.labPulse,
name: 'Insight',
name: 'Letter From The Editor',
},
};

Expand Down
2 changes: 1 addition & 1 deletion tenants/all/config/email-x.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const EmailXConfiguration = require('@parameter1/base-cms-marko-newsletters-emai
const config = new EmailXConfiguration(process.env.EMAILX_SERVE_URI || 'https://smg.serve.email-x.parameter1.com');

config
.setAdUnits('lab-pulse-insight', [
.setAdUnits('letter-from-the-editor', [
{
name: 'ad-slot-1',
id: '632b08a058002aacbb708185',
Expand Down
2 changes: 1 addition & 1 deletion tenants/all/config/native-x.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
uri: 'https://smg.native-x.parameter1.com',
placements: {
'lab-pulse-insight': {
'letter-from-the-editor': {
'slot-1': '632b0922e063f70001d48fc8',
},
},
Expand Down

0 comments on commit edbf617

Please sign in to comment.