summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/index.html.haml
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-06-17 01:27:01 -0700
committerelijah <elijah@riseup.net>2013-06-17 01:27:01 -0700
commit8550dcb0096017f94f855cad75dc61da63d92970 (patch)
tree3eb3bd07d06de1f58db5851cfd21dff11a4db159 /help/app/views/tickets/index.html.haml
parent8b7621793fe5f8fa55c955045a71821c53d4759f (diff)
new ui - ticket navigation
Diffstat (limited to 'help/app/views/tickets/index.html.haml')
-rw-r--r--help/app/views/tickets/index.html.haml23
1 files changed, 9 insertions, 14 deletions
diff --git a/help/app/views/tickets/index.html.haml b/help/app/views/tickets/index.html.haml
index 23a503d..a3cbfcf 100644
--- a/help/app/views/tickets/index.html.haml
+++ b/help/app/views/tickets/index.html.haml
@@ -1,17 +1,12 @@
-%h1 tickets index
+- if admin?
+ = render 'tickets/admin-nav'
-Create a
-= link_to "new ticket", new_ticket_path
+= render 'tickets/table-nav'
+
+%table.table-striped.table-bordered.table-hover
+ //{:style => "width:100%;"}
+ %tbody
+ = render @tickets.all
+= paginate @tickets
-= #%div{"data-pjax-container" => ""} # not sure how to get this working right
-.row
- .span2
- - if admin?
- = render 'tickets/admin-nav'
- .span10
- = render 'tickets/table-nav'
- %table.table-striped.table-bordered.table-hover{:style => "width:100%;"}
- %tbody
- = render @tickets.all
- = paginate @tickets