summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/index.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-19 00:33:19 -0700
committerelijah <elijah@riseup.net>2013-06-19 00:33:19 -0700
commitc0dcf6bd6ae163ab39886a86c337d008ac2365a6 (patch)
treec704a349a4993f060344c826b649a65f386cc79f /help/app/views/tickets/index.html.haml
parenta089c452a414e7d34d49f0e2703c632141361e2b (diff)
new ui for tickets
Diffstat (limited to 'help/app/views/tickets/index.html.haml')
-rw-r--r--help/app/views/tickets/index.html.haml21
1 files changed, 13 insertions, 8 deletions
diff --git a/help/app/views/tickets/index.html.haml b/help/app/views/tickets/index.html.haml
index a3cbfcf..f4597a7 100644
--- a/help/app/views/tickets/index.html.haml
+++ b/help/app/views/tickets/index.html.haml
@@ -1,12 +1,17 @@
-- if admin?
- = render 'tickets/admin-nav'
-
= render 'tickets/table-nav'
-%table.table-striped.table-bordered.table-hover
- //{:style => "width:100%;"}
+%table.table.table-striped.table-bordered
+ %thead
+ %tr
+ %th= t(:subject)
+ %th= t(:created)
+ %th= t(:updated)
+ %th= t(:voices)
%tbody
- = render @tickets.all
-= paginate @tickets
-
+ - if @tickets.any?
+ = render @tickets.all
+ - else
+ %tr
+ %td{:colspan=>4}= t(:none)
+= paginate @tickets