diff options
author | elijah <elijah@riseup.net> | 2013-06-17 01:27:01 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-04 03:57:59 -0700 |
commit | 7d58f640e89a89a4767e59883b864afcd4e9dad4 (patch) | |
tree | 5ddb5705c2062931c3e9478b8e6440150deaf4e1 /help/app/views/tickets/index.html.haml | |
parent | 3f51128e24e1ca3247169066aa6a03090df98dd6 (diff) |
new ui - ticket navigation
Diffstat (limited to 'help/app/views/tickets/index.html.haml')
-rw-r--r-- | help/app/views/tickets/index.html.haml | 23 |
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 |