Skip to content

Commit

Permalink
highlight extra charge messaging (#17)
Browse files Browse the repository at this point in the history
🐿 v2.7.0
  • Loading branch information
leggsimon authored Jan 26, 2018
1 parent cc38c71 commit cce30ad
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
.editorconfig
.eslintrc.js
.stylelintrc
package-lock.json*
.vscode

/bower_components/
/node_modules/

6 changes: 3 additions & 3 deletions src/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ export const MESSAGES = {
{{embargoMessage}}
<p>Please ensure you have considered your <a data-trackable="contractual-rights" href="/republishing/contract">contractual rights</a> before republishing.</p>`,
MSG_2200: `${EMPTY}<p>Please contact us for details of republishing rights for this content (<a href="mailto:syndication@ft.com">syndication@ft.com</a> or +44 (0)207 873 4816).</p>`,
MSG_2300: `${EMPTY}{{embargoMessage}}<p>This content will incur additional charges to republish. Please contact us for further details (<a href="mailto:syndication@ft.com">syndication@ft.com</a> or +44 (0)207 873 4816).</p>`,
MSG_2320: `${EMPTY}{{embargoMessage}}<p>This content will incur additional charges to republish. Please contact us for further details (<a href="mailto:syndication@ft.com">syndication@ft.com</a> or +44 (0)207 873 4816).</p>
MSG_2300: `${EMPTY}{{embargoMessage}}<p class="syndication-message__content--warning">This content will incur additional charges to republish. Please contact us for further details (<a href="mailto:syndication@ft.com">syndication@ft.com</a> or +44 (0)207 873 4816).</p>`,
MSG_2320: `${EMPTY}{{embargoMessage}}<p class="syndication-message__content--warning">This content will incur additional charges to republish. Please contact us for further details (<a href="mailto:syndication@ft.com">syndication@ft.com</a> or +44 (0)207 873 4816).</p>
<p>Please ensure you have considered your <a data-trackable="contractual-rights" href="/republishing/contract">contractual rights</a> before republishing.</p>`,
MSG_2340: `${EMPTY}<p>This content has already been downloaded and therefore will not count towards your republishing limit.</p>
{{embargoMessage}}
<p>This content will incur additional charges to republish. Please contact us for further details (<a href="mailto:syndication@ft.com">syndication@ft.com</a> or +44 (0)207 873 4816).</p>
<p class="syndication-message__content--warning">This content will incur additional charges to republish. Please contact us for further details (<a href="mailto:syndication@ft.com">syndication@ft.com</a> or +44 (0)207 873 4816).</p>
<p>Please ensure you have considered your <a data-trackable="contractual-rights" href="/republishing/contract">contractual rights</a> before republishing.</p>`,
MSG_4000: `${EMPTY}<p>This content is not available for republishing.</p>`,
MSG_4050: `${EMPTY}<p>Sorry, this content is no longer available.</p>`,
Expand Down
2 changes: 1 addition & 1 deletion src/js/modal-download.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function createElement (item) {
trackableValueSaveForLater += '-downloads-page';
}
else if (location.pathname.includes('/save')) {
// trackableValueDownloadItem = 'download-saved-item';
// trackableValueDownloadItem = 'download-saved-item';
trackableValueDownloadItem = '';
}

Expand Down
5 changes: 5 additions & 0 deletions src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -299,3 +299,8 @@
color: getColor('white');
}
}

.n-syndication-modal-message .syndication-message__content--warning {
color: getColor('crimson');
font-weight: 500;
}

0 comments on commit cce30ad

Please sign in to comment.