()
| 55 | } |
| 56 | |
| 57 | func (i Invite) ExpiresFriendly() string { |
| 58 | return i.Expires.Format("January 2, 2006, 3:04 PM") |
| 59 | } |
| 60 | |
| 61 | func handleViewUserInvites(app *App, u *User, w http.ResponseWriter, r *http.Request) error { |
| 62 | // Don't show page if instance doesn't allow it |