diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-28 02:16:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 02:16:01 +0100 |
commit | 08ec7435ce10fc74c257e089d6a2e909287e3daa (patch) | |
tree | b529fdc6ee76c094b670a7409fe34f2cc0a4844c /app/views/relationships | |
parent | 683013756e9c57dd1944856dd154dba1be4097b9 (diff) |
Add order options to relationship manager UI (#10404)
Diffstat (limited to 'app/views/relationships')
-rw-r--r-- | app/views/relationships/show.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/relationships/show.html.haml b/app/views/relationships/show.html.haml index 63745119a..e6fff0ad6 100644 --- a/app/views/relationships/show.html.haml +++ b/app/views/relationships/show.html.haml @@ -25,11 +25,18 @@ %li= filter_link_to t('generic.all'), activity: nil %li= filter_link_to t('relationships.dormant'), activity: 'dormant' + .filter-subset + %strong= t 'generic.order_by' + %ul + %li= filter_link_to t('relationships.most_recent'), order: nil + %li= filter_link_to t('relationships.last_active'), order: 'active' + = form_for(@form, url: relationships_path, method: :patch) do |f| = hidden_field_tag :page, params[:page] || 1 = hidden_field_tag :relationship, params[:relationship] = hidden_field_tag :status, params[:status] = hidden_field_tag :activity, params[:activity] + = hidden_field_tag :order, params[:order] .batch-table .batch-table__toolbar |