summaryrefslogtreecommitdiff
path: root/app/views/shared/boards/components/sidebar/_time_tracker.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/boards/components/sidebar/_time_tracker.html.haml')
-rw-r--r--app/views/shared/boards/components/sidebar/_time_tracker.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/shared/boards/components/sidebar/_time_tracker.html.haml b/app/views/shared/boards/components/sidebar/_time_tracker.html.haml
new file mode 100644
index 00000000000..b76d44c5907
--- /dev/null
+++ b/app/views/shared/boards/components/sidebar/_time_tracker.html.haml
@@ -0,0 +1,6 @@
+.block.time-tracking
+ %time-tracker{ ":time-estimate" => "issue.timeEstimate || 0",
+ ":time-spent" => "issue.timeSpent || 0",
+ ":human-time-estimate" => "issue.humanTimeEstimate",
+ ":human-time-spent" => "issue.humanTimeSpent",
+ "root-path" => "#{root_url}" }