diff options
author | David Yip <yipdw@member.fsf.org> | 2018-04-18 18:48:12 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2018-04-18 18:48:12 -0500 |
commit | 16d5217502a09132dc14a3a808036af5dbcb73dd (patch) | |
tree | deb7b81919e5f8082b7d848b0b8df4787d37f001 /app/views/invites | |
parent | 813da6788e5129579db04e89aac3076902af2c7a (diff) | |
parent | ff87d1bc3ecdb81ff5c523f0964ecf223a503d30 (diff) |
Merge remote-tracking branch 'origin/master' into gs-master
Conflicts: app/controllers/home_controller.rb app/controllers/stream_entries_controller.rb app/javascript/mastodon/locales/ja.json app/javascript/mastodon/locales/pl.json
Diffstat (limited to 'app/views/invites')
-rw-r--r-- | app/views/invites/_invite.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/invites/_invite.html.haml b/app/views/invites/_invite.html.haml index 81d67eb7d..1c7ec311d 100644 --- a/app/views/invites/_invite.html.haml +++ b/app/views/invites/_invite.html.haml @@ -13,5 +13,5 @@ = l invite.expires_at %td= table_link_to 'link', public_invite_url(invite_code: invite.code), public_invite_url(invite_code: invite.code) %td - - if invite.expired? && policy(invite).destroy? + - if !invite.expired? && policy(invite).destroy? = table_link_to 'times', t('invites.delete'), invite_path(invite), method: :delete |