summaryrefslogtreecommitdiff
path: root/app/views/identities
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/identities')
-rw-r--r--app/views/identities/_identity.html.haml7
-rw-r--r--app/views/identities/index.html.haml5
2 files changed, 12 insertions, 0 deletions
diff --git a/app/views/identities/_identity.html.haml b/app/views/identities/_identity.html.haml
new file mode 100644
index 0000000..7c4aeda
--- /dev/null
+++ b/app/views/identities/_identity.html.haml
@@ -0,0 +1,7 @@
+%tr[identity]{class: identity.status}
+ %td
+ %span.label= t(".#{identity.status}", cascading: true)
+ %td= identity.login
+ %td= identity.destination
+ %td
+ %ul.list-inline= render actions(identity)
diff --git a/app/views/identities/index.html.haml b/app/views/identities/index.html.haml
new file mode 100644
index 0000000..e4f48eb
--- /dev/null
+++ b/app/views/identities/index.html.haml
@@ -0,0 +1,5 @@
+-@show_navigation = false
+
+= search :identities
+= table @identities, %w(type username destination actions)
+-# = paginate @identities