From 7139f00286b459b3afcab6c2281e8a9b9fd52845 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 20 Jun 2015 18:32:45 +0200 Subject: [PATCH] Add a Register time button to the time line This button is most needed when viewing the interface on an extra small screen, because in this case the register time first row will ben hidden. --- stoptime.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stoptime.rb b/stoptime.rb index 5722e55..6c3fe6f 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -1903,6 +1903,10 @@ module StopTime::Views text! "Timeline" small "#{@time_entries.count} time entries" div.btn_group.navbar_right do + a.btn.btn_default.btn_sm :role => "button", :href=> R(TimelineNew) do + _icon("time") + span "Register time" + end a.btn.btn_default.btn_sm.dropdown_toggle :role => "button", :href => "#", "data-toggle" => "dropdown" do _icon("filter")