Merge tag 'v3.0.0' into glitch-soc/merge-upstream

This commit is contained in:
Thibaut Girka
2019-10-04 19:49:43 +02:00
31 changed files with 419 additions and 81 deletions

View File

@ -10,8 +10,5 @@
.fields-group
= f.input :autofollow, wrapper: :with_label
.fields-group
= f.input :comment, wrapper: :with_label, input_html: { maxlength: 420 }
.actions
= f.button :button, t('invites.generate'), type: :submit

View File

@ -20,9 +20,6 @@
%td{ colspan: 2 }
= t('invites.expired')
%td
= invite.comment
%td
- if invite.valid_for_use? && policy(invite).destroy?
= table_link_to 'times', t('invites.delete'), invite_path(invite), method: :delete

View File

@ -15,7 +15,6 @@
%th
%th= t('invites.table.uses')
%th= t('invites.table.expires_at')
%th= t('invites.table.comment')
%th
%tbody
= render @invites