about summary refs log tree commit diff
path: root/app/views/invites
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-10-04 19:49:43 +0200
committerThibaut Girka <thib@sitedethib.com>2019-10-04 19:49:43 +0200
commit1bbba0016a8d2a182248e05b5d51e8a6e22bc3f3 (patch)
tree93c92d1aa5ceab241ffdf14cc7e13f41b0f0fdcc /app/views/invites
parent360234d1bf1ea8b5c88a96d21156ea351f3e87c2 (diff)
parent83d3e7733da892f5ad94ed2b8757db11250fbe6a (diff)
Merge tag 'v3.0.0' into glitch-soc/merge-upstream
Diffstat (limited to 'app/views/invites')
-rw-r--r--app/views/invites/_form.html.haml3
-rw-r--r--app/views/invites/_invite.html.haml3
-rw-r--r--app/views/invites/index.html.haml1
3 files changed, 0 insertions, 7 deletions
diff --git a/app/views/invites/_form.html.haml b/app/views/invites/_form.html.haml
index b19f70539..3a2a5ef0e 100644
--- a/app/views/invites/_form.html.haml
+++ b/app/views/invites/_form.html.haml
@@ -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
diff --git a/app/views/invites/_invite.html.haml b/app/views/invites/_invite.html.haml
index 03050c868..62799ca5b 100644
--- a/app/views/invites/_invite.html.haml
+++ b/app/views/invites/_invite.html.haml
@@ -21,8 +21,5 @@
       = 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
diff --git a/app/views/invites/index.html.haml b/app/views/invites/index.html.haml
index 62065d6ae..61420ab1e 100644
--- a/app/views/invites/index.html.haml
+++ b/app/views/invites/index.html.haml
@@ -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