From 58ec60ab60d4de21e80ac7d223e914a4cb277f2f Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 11 Jul 2015 21:23:50 +0200 Subject: [PATCH] Add an anchor for timelines Also expand the customer timeline table row to have full width. --- stoptime.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stoptime.rb b/stoptime.rb index 104faab..fc54c63 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -2260,8 +2260,8 @@ module StopTime::Views # Show registered time using the time_entries view as partial view. div.row do - div.col_md_10.col_xs_12 do - h2 "Registered time" + div.col_xs_12 do + h2.timeline! "Registered unbilled time" _time_entries(@customer) end end unless @button == "create" @@ -2356,7 +2356,7 @@ module StopTime::Views # Show registered time (ab)using the time_entries view as partial view. div.row do div.col_md_8.col_xs_12 do - h2 "Registered #{@task.billed? ? "billed" : "unbilled"} time" + h2.timeline! "Registered #{@task.billed? ? "billed" : "unbilled"} time" _time_entries(@customer, @task) end end unless @method == "create"