From 8550dcb0096017f94f855cad75dc61da63d92970 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 17 Jun 2013 01:27:01 -0700 Subject: new ui - ticket navigation --- help/app/views/tickets/index.html.haml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'help/app/views/tickets/index.html.haml') 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 -- cgit v1.2.3