mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 07:38:01 +08:00
FIX: show updated_at for invite sent date.
This commit is contained in:
parent
941162e90e
commit
2dd47df6d1
|
@ -80,7 +80,7 @@
|
|||
{{/if}}
|
||||
{{else}}
|
||||
<td>{{unbound invite.email}}</td>
|
||||
<td>{{format-date invite.created_at}}</td>
|
||||
<td>{{format-date invite.updated_at}}</td>
|
||||
<td>
|
||||
{{#if invite.expired}}
|
||||
<div>{{i18n 'user.invited.expired'}}</div>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
class InviteSerializer < ApplicationSerializer
|
||||
|
||||
attributes :email, :created_at, :redeemed_at, :expired, :user
|
||||
attributes :email, :updated_at, :redeemed_at, :expired, :user
|
||||
|
||||
def include_email?
|
||||
!object.redeemed?
|
||||
|
|
Loading…
Reference in New Issue
Block a user