diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index 1708d5ec..ac8d5bc3 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -368,7 +368,9 @@ def changedetection_app(config=None, datastore_o=None): tags=existing_tags, active_tag=limit_tag, app_rss_token=datastore.data['settings']['application']['rss_access_token'], - has_unviewed=datastore.data['has_unviewed']) + has_unviewed=datastore.data['has_unviewed'], + # Don't link to hosting when we're on the hosting environment + hosted_sticky=os.getenv("SALTED_PASS", False) == False) return output diff --git a/changedetectionio/static/styles/styles.css b/changedetectionio/static/styles/styles.css index 794dc631..cf850004 100644 --- a/changedetectionio/static/styles/styles.css +++ b/changedetectionio/static/styles/styles.css @@ -242,7 +242,7 @@ footer { .sticky-tab { position: absolute; - top: 80px; + top: 100px; font-size: 8px; background: #fff; padding: 10px; } @@ -250,6 +250,10 @@ footer { left: 0px; } .sticky-tab#right-sticky { right: 0px; } + .sticky-tab#hosted-sticky { + right: 0px; + top: 60px; + font-weight: bold; } #new-version-text a { color: #e07171; } diff --git a/changedetectionio/static/styles/styles.scss b/changedetectionio/static/styles/styles.scss index 63b40a4e..39451c46 100644 --- a/changedetectionio/static/styles/styles.scss +++ b/changedetectionio/static/styles/styles.scss @@ -321,7 +321,7 @@ footer { .sticky-tab { position: absolute; - top: 80px; + top: 100px; font-size: 8px; background: #fff; padding: 10px; @@ -331,6 +331,11 @@ footer { right-sticky { right: 0px; } + hosted-sticky { + right: 0px; + top: 60px; + font-weight: bold; + } } #new-version-text a { diff --git a/changedetectionio/templates/base.html b/changedetectionio/templates/base.html index d4533fde..99be4c6d 100644 --- a/changedetectionio/templates/base.html +++ b/changedetectionio/templates/base.html @@ -68,7 +68,7 @@ - +{% if hosted_sticky %}
{% endif %} {% if left_sticky %} {% endif %} {% if right_sticky %}