Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added a tooltip for informing users of the shorten base url change

Taylor Gunnoe8281c017c577
diff --git a/web/css/wv.link.css b/web/css/wv.link.css
index 093a6dfef..a4cfc1316 100644
--- a/web/css/wv.link.css
+++ b/web/css/wv.link.css
@@ -7,3 +7,11 @@
width: 100%;
}
+#wv-link-shorten-notice {
+ margin: 0 5px;
+ cursor: default;
+ color: #49749C;
+}
+#wv-link-shorten-notice:hover {
+ color: #fff
+}
\ No newline at end of file
diff --git a/web/js/link/wv.link.ui.js b/web/js/link/wv.link.ui.js
index f7ad182d1..ac3ece84b 100644
--- a/web/js/link/wv.link.ui.js
+++ b/web/js/link/wv.link.ui.js
@@ -64,6 +64,9 @@ wv.link.ui = wv.link.ui || function(models, config) {
item += "<span autofocus></span><div id='wv-link-shorten'>" +
"<input type='checkbox' value='' id='wv-link-shorten-check' />" +
"<label id='wv-link-shorten-label' for='wv-link-shorten-check'>Shorten this link</label>" +
+ "<span id='wv-link-shorten-notice' title='NOTE: The base URL for creating a shortened link recently changed from 1.usa.gov to go.nasa.gov. " +
+ "The shortened queries that were previously generated can still be accessed by replacing their base URL with the new one, e.g. " +
+ "http://1.usa.gov/1hEGqWu is now http://go.nasa.gov/1hEGqWu'>(?)</span>" +
"</div>";
}
item += "</div>";