summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-20 10:34:46 +0100
committerAzul <azul@leap.se>2012-11-20 10:34:46 +0100
commit9289ae6601cacb746f83f9bd9d953d0591eac0da (patch)
tree426d663459675daa0b4376a78cf798e99f7a5f27 /help
parent60bb7b4522148d4c426ff2073bf54beefa4041d4 (diff)
minor: stacking the pills and making their titles have similar length
Diffstat (limited to 'help')
-rw-r--r--help/app/views/tickets/index.html.haml10
1 files changed, 4 insertions, 6 deletions
diff --git a/help/app/views/tickets/index.html.haml b/help/app/views/tickets/index.html.haml
index 95b65c0..0bb9c1d 100644
--- a/help/app/views/tickets/index.html.haml
+++ b/help/app/views/tickets/index.html.haml
@@ -1,6 +1,4 @@
-%h1 tickets index (just as space)
-%h1 tickets index (just as space)
-%h1 tickets index (just as space)
+%h1 tickets index
Create a
= link_to "new ticket", new_ticket_path
@@ -10,11 +8,11 @@ Create a
.span2
- if admin?
%h4 whose tickets
- %ul.nav.nav-pills
+ %ul.nav.nav-pills.nav-stacked
%li{:class => ("active" if params[:admin_status] == 'mine')}
- = link_to 'only tickets i admin', {:admin_status => 'mine', :open_status => params[:open_status]}
+ = link_to 'tickets i admin', {:admin_status => 'mine', :open_status => params[:open_status]}
%li{:class => ("active" if params[:admin_status] != 'mine')}
- = link_to 'all', {:admin_status => 'all', :open_status => params[:open_status]}
+ = link_to 'all tickets', {:admin_status => 'all', :open_status => params[:open_status]}
.span10
%ul.nav.nav-tabs
%li{:class => ("active" if params[:open_status] != 'closed' and params[:open_status] != 'all')}