Remove invite comments from UI (#12068)
Due to UX confusion and insufficient time to fix it
This commit is contained in:
parent
3f91e8c3a5
commit
740c9cb3ee
5 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue