diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-12-02 00:40:02 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-12-01 16:40:02 +0100 |
commit | 74320971e2cc9f605dbcc23c52ac36e18b80716f (patch) | |
tree | 444edcce8371270e8f4a632a4423fc589ec9aa7a /app/views | |
parent | eee3b32b7714a302ae384c92ef13601167ec892a (diff) |
Add invite filter (#5862)
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/invites/index.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/admin/invites/index.html.haml b/app/views/admin/invites/index.html.haml index 52a748fe0..944a60471 100644 --- a/app/views/admin/invites/index.html.haml +++ b/app/views/admin/invites/index.html.haml @@ -1,6 +1,14 @@ - content_for :page_title do = t('admin.invites.title') +.filters + .filter-subset + %strong= t('admin.invites.filter.title') + %ul + %li= filter_link_to t('admin.invites.filter.all'), available: nil, expired: nil + %li= filter_link_to t('admin.invites.filter.available'), available: 1, expired: nil + %li= filter_link_to t('admin.invites.filter.expired'), available: nil, expired: 1 + - if policy(:invite).create? %p= t('invites.prompt') |