summaryrefslogtreecommitdiff
path: root/engines/support/app/views/tickets/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'engines/support/app/views/tickets/index.html.haml')
-rw-r--r--engines/support/app/views/tickets/index.html.haml19
1 files changed, 19 insertions, 0 deletions
diff --git a/engines/support/app/views/tickets/index.html.haml b/engines/support/app/views/tickets/index.html.haml
new file mode 100644
index 0000000..c02a326
--- /dev/null
+++ b/engines/support/app/views/tickets/index.html.haml
@@ -0,0 +1,19 @@
+- @show_navigation = !params[:user_id].nil?
+
+= render 'tickets/tabs'
+
+%table.table.table-striped.table-bordered
+ %thead
+ %tr
+ %th= t(:subject)
+ %th= t(:created)
+ %th= t(:updated)
+ %th= t(:voices)
+ %tbody
+ - if @tickets.any?
+ = render @tickets.all
+ - else
+ %tr
+ %td{:colspan=>4}= t(:none)
+
+= paginate @tickets