summaryrefslogtreecommitdiff
path: root/app/views/invite_codes/index.html.haml
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-10-17 14:05:59 +0200
committerAzul <azul@riseup.net>2017-10-17 14:05:59 +0200
commit47df0b296b282d0fe554c3b596b366c5403c9588 (patch)
treeb30e6372edca16a2fb15696bbe6a497468aa8887 /app/views/invite_codes/index.html.haml
parent9414e8ddf4ce7e951a6dc9130d99fa12c5696b94 (diff)
feat: sort invite codes by last update
They used to be sorted by the code which was not helpful fixes #8806 requires deploy of new design docs to the platform
Diffstat (limited to 'app/views/invite_codes/index.html.haml')
-rw-r--r--app/views/invite_codes/index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/invite_codes/index.html.haml b/app/views/invite_codes/index.html.haml
index 40fccdf..98c49c7 100644
--- a/app/views/invite_codes/index.html.haml
+++ b/app/views/invite_codes/index.html.haml
@@ -11,10 +11,10 @@
%td= f.text_field :max_uses, style: 'width: 4em'
%td= f.submit t("helpers.submit.invites.create"), style: 'margin-bottom: 10px', class: 'btn btn-default'
-= table @invites, %w(created code uses actions)
+= table @invites, %w(updated created code uses actions)
-# select the text of the invite code when you click on it:
:javascript
$("input.invite-code").focus(function(){
this.select();
- }); \ No newline at end of file
+ });