0
0
Fork 0

Remove invite comments from UI (#12068)

Due to UX confusion and insufficient time to fix it
This commit is contained in:
Eugen Rochko 2019-10-03 22:37:13 +02:00 committed by GitHub
parent 3f91e8c3a5
commit 740c9cb3ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 9 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