UX: show invites count only for private events

UX: show invites count only for private events

diff --git a/assets/javascripts/discourse/widgets/post-event-invitees.js.es6 b/assets/javascripts/discourse/widgets/post-event-invitees.js.es6
index 96f6b16..74ee1f1 100644
--- a/assets/javascripts/discourse/widgets/post-event-invitees.js.es6
+++ b/assets/javascripts/discourse/widgets/post-event-invitees.js.es6
@@ -6,6 +6,7 @@ export default createWidget("post-event-invitees", {
 
   transform(attrs) {
     return {
+      isPrivateEvent: attrs.postEvent.status === "private",
       showAll: attrs.postEvent.stats && attrs.postEvent.stats.invited > 10
     };
   },
@@ -15,8 +16,10 @@ export default createWidget("post-event-invitees", {
       <div class="post-event-invitees-status">
         <span>{{attrs.postEvent.stats.going}} Going -</span>
         <span>{{attrs.postEvent.stats.interested}} Interested -</span>
-        <span>{{attrs.postEvent.stats.not_going}} Not going -</span>
-        <span class="invited">on {{attrs.postEvent.stats.invited}} users invited</span>
+        <span>{{attrs.postEvent.stats.not_going}} Not going</span>
+        {{#if transformed.isPrivateEvent}}
+          <span class="invited">- on {{attrs.postEvent.stats.invited}} users invited</span>
+        {{/if}}
       </div>
 
       {{#if transformed.showAll}}

GitHub sha: 73d61852

I assume in the future you plan to add I18n for this stuff?

Yes I didn’t want to add translations for things which are still experimental.