summaryrefslogtreecommitdiff
path: root/app/views/gateways/_index_core.html.haml
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-01-13 16:36:51 +0000
committerPeter Kozak <spag@golwen.net>2013-01-13 16:36:51 +0000
commitf48e68fbf5889a837cb4f7442e39997eea94511c (patch)
treec5ff57757a2872b39fe13ce0f08974d36bc9d34f /app/views/gateways/_index_core.html.haml
parent3bc87f6b2e7563e1e22e3976e11db20d040ba18e (diff)
gateway views
Diffstat (limited to 'app/views/gateways/_index_core.html.haml')
-rw-r--r--app/views/gateways/_index_core.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/gateways/_index_core.html.haml b/app/views/gateways/_index_core.html.haml
new file mode 100644
index 0000000..21414c3
--- /dev/null
+++ b/app/views/gateways/_index_core.html.haml
@@ -0,0 +1,17 @@
+%table
+ %tr
+ %th= t('gateways.index.name')
+ %th= t('gateways.index.technology')
+ %th= t('gateways.index.inbound')
+ %th= t('gateways.index.outbound')
+ %th= t('gateways.index.description')
+
+ - reset_cycle
+ - for gateway in gateways
+ %tr{:class => cycle('odd', 'even')}
+ %td= gateway.name
+ %td= gateway.technology
+ %td= gateway.inbound
+ %td= gateway.outbound
+ %td= gateway.description
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gateway} \ No newline at end of file