Add an anchor for timelines

Also expand the customer timeline table row to have full width.
This commit is contained in:
Paul van Tilburg 2015-07-11 21:23:50 +02:00
parent 16b13de52c
commit 58ec60ab60
1 changed files with 3 additions and 3 deletions

View File

@ -2260,8 +2260,8 @@ module StopTime::Views
# Show registered time using the time_entries view as partial view. # Show registered time using the time_entries view as partial view.
div.row do div.row do
div.col_md_10.col_xs_12 do div.col_xs_12 do
h2 "Registered time" h2.timeline! "Registered unbilled time"
_time_entries(@customer) _time_entries(@customer)
end end
end unless @button == "create" end unless @button == "create"
@ -2356,7 +2356,7 @@ module StopTime::Views
# Show registered time (ab)using the time_entries view as partial view. # Show registered time (ab)using the time_entries view as partial view.
div.row do div.row do
div.col_md_8.col_xs_12 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) _time_entries(@customer, @task)
end end
end unless @method == "create" end unless @method == "create"