From b1488b430a3f68317bd5d74913b53292a3c7614d Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Wed, 12 Aug 2015 23:49:23 +0530 Subject: [PATCH] UX: show invite sent date on pending tab --- .../javascripts/discourse/templates/user-invited-show.hbs | 6 ++++-- config/locales/client.en.yml | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/user-invited-show.hbs b/app/assets/javascripts/discourse/templates/user-invited-show.hbs index 87d036cdc6b..a13bb5860c5 100644 --- a/app/assets/javascripts/discourse/templates/user-invited-show.hbs +++ b/app/assets/javascripts/discourse/templates/user-invited-show.hbs @@ -40,7 +40,8 @@ {{i18n 'user.invited.days_visited'}} {{/if}} {{else}} - {{i18n 'user.invited.user'}} + {{i18n 'user.invited.user'}} + {{i18n 'user.invited.sent'}} {{/if}} {{#each invite in model.invites}} @@ -62,7 +63,8 @@ {{/if}} {{else}} {{unbound invite.email}} - + {{format-date invite.created_at}} + {{#if invite.expired}} {{i18n 'user.invited.expired'}}      diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 0bddf2109f6..c83886feab7 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -605,6 +605,7 @@ en: search: "type to search invites..." title: "Invites" user: "Invited User" + sent: "Sent" none: "You haven't invited anyone here yet." truncated: "Showing the first {{count}} invites." redeemed: "Redeemed Invites"