UX: Remove local-date globe and 'active since' text

UX: Remove local-date globe and ‘active since’ text

diff --git a/assets/javascripts/discourse/widgets/alert-receiver.js.es6 b/assets/javascripts/discourse/widgets/alert-receiver.js.es6
index 0d7d062..cf69850 100644
--- a/assets/javascripts/discourse/widgets/alert-receiver.js.es6
+++ b/assets/javascripts/discourse/widgets/alert-receiver.js.es6
@@ -113,16 +113,12 @@ createWidget("alert-receiver-date-range", {
     const content = [];
     if (!attrs.startsAt) return;
 
-    if (!attrs.endsAt) {
-      content.push("active since ");
-    }
-
     content.push(
       this.attach("alert-receiver-date", { timestamp: attrs.startsAt })
     );
 
     if (attrs.endsAt) {
-      content.push(" to ");
+      content.push(" - ");
       const startDate = attrs.startsAt.split("T")[0];
       const endDate = attrs.endsAt.split("T")[0];
 
diff --git a/assets/stylesheets/topic-post.scss b/assets/stylesheets/topic-post.scss
index 0075220..4a88596 100644
--- a/assets/stylesheets/topic-post.scss
+++ b/assets/stylesheets/topic-post.scss
@@ -97,7 +97,7 @@
     }
   }
 
-  td:nth-child(2) .alert-receiver-date:nth-child(2) {
+  .alert-receiver-date {
     .d-icon {
       display: none;
     }

GitHub sha: cda0a20e

1 Like