Skip to content

Commit

Permalink
update proxy alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
thostetler committed Jan 29, 2021
1 parent 0e24fe0 commit 322d6ab
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/js/apps/discovery/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,15 @@ define(['config/discovery.config', 'module'], function(config, module) {

// check for is-proxied class, and if present, send alert
if ($('body').hasClass('is-proxied')) {
const msg = `You are using a proxied version of ADS, we recommend you switch to the regular non-proxied URL: <a href="https://ui.adsabs.harvard.edu${location.pathname}" rel="noopener noreferrer">https://ui.adsabs.harvard.edu</a>`;
const msg = `
<p>
You are using a proxied version of ADS, we recommend you switch to the regular non-proxied URL:
<a href="https://ui.adsabs.harvard.edu${location.pathname}" rel="noopener noreferrer">https://ui.adsabs.harvard.edu</a></p>
<p>
Configure authenticated access to publisher content via the Library Link Server in your account
<a href="https://ui.adsabs.harvard.edu/user/settings/librarylink" rel="noopener noreferrer">preferences</a>.
</p>
`;

pubsub.publish(
pubsub.getCurrentPubSubKey(),
Expand Down

0 comments on commit 322d6ab

Please sign in to comment.