summaryrefslogtreecommitdiff
path: root/help/app/views/tickets/_table-nav.html.haml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-27 10:01:07 +0100
committerAzul <azul@leap.se>2012-11-27 10:01:07 +0100
commitbe479d2c55d502c6e4303700b68e0a619f646834 (patch)
tree1ff9e4f0db9ab9bee2d2e0f3ace5f099bff28034 /help/app/views/tickets/_table-nav.html.haml
parenta8b8a7b5431f57ebcf295b8d9389d44cc3a49e8e (diff)
bunch of refactoring for the ticket index
* using different partials for different parts of the view * using render @tickets.all to iterate over the tickets. #all is necessary because of CouchRest Model * using helpers for easier querying for the open_status and admin_status params * using helper for avoiding duplication when linking to status
Diffstat (limited to 'help/app/views/tickets/_table-nav.html.haml')
-rw-r--r--help/app/views/tickets/_table-nav.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/help/app/views/tickets/_table-nav.html.haml b/help/app/views/tickets/_table-nav.html.haml
new file mode 100644
index 0000000..635b59b
--- /dev/null
+++ b/help/app/views/tickets/_table-nav.html.haml
@@ -0,0 +1,5 @@
+.row
+ .span6
+ = render 'tickets/status-nav'
+ .span4
+ = render 'tickets/order-nav'