about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-03-18 03:53:17 +0100
committerGitHub <noreply@github.com>2019-03-18 03:53:17 +0100
commitb8e4c85e69443abb141e666b36606056e86e116c (patch)
treec5d0769ec923611cea9ca2e5ca6d04737acd1c8c /app/views
parent7130d6e51291b08df59f9580c7d6e1c1d97e7dad (diff)
Add dormant filter to relationship manager, rename other filters (#10308)
Rename "abandoned" to "moved", and "active" to "primary"
Diffstat (limited to 'app/views')
-rw-r--r--app/views/relationships/show.html.haml11
1 files changed, 9 insertions, 2 deletions
diff --git a/app/views/relationships/show.html.haml b/app/views/relationships/show.html.haml
index 33a43f1a8..63745119a 100644
--- a/app/views/relationships/show.html.haml
+++ b/app/views/relationships/show.html.haml
@@ -16,13 +16,20 @@
     %strong= t 'relationships.status'
     %ul
       %li= filter_link_to t('generic.all'), status: nil
-      %li= filter_link_to t('relationships.active'), status: 'active'
-      %li= filter_link_to t('relationships.abandoned'), status: 'abandoned'
+      %li= filter_link_to t('relationships.primary'), status: 'primary'
+      %li= filter_link_to t('relationships.moved'), status: 'moved'
+
+  .filter-subset
+    %strong= t 'relationships.activity'
+    %ul
+      %li= filter_link_to t('generic.all'), activity: nil
+      %li= filter_link_to t('relationships.dormant'), activity: 'dormant'
 
 = 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]
 
   .batch-table
     .batch-table__toolbar