ecm_time_tracking_backend 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d71dd7daacb0594ccce10e177b28f324e6860133
|
4
|
+
data.tar.gz: 5a0414bf93282b519a6d174e6f812b7c04bf7dde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a844bb3041196e0587b0857e26aaa9eccd47ff82d430d53539ad671f2353e0c3ae3c85262104ba5c03ba0be11b6f929affc28ae408bf46788f2b7556d229cdc6
|
7
|
+
data.tar.gz: 538257f7cb586c7c5c7e67d56b87e938a96f79a9d473c19b0d3d9a9903459bd6d857bdfd26b81f62986b1669a7f027a1a7c9f5682039e14c317b43ec41a1a960
|
@@ -0,0 +1,10 @@
|
|
1
|
+
.panel.panel-default
|
2
|
+
.panel-heading= Ecm::TimeTracking::SumsService.model_name.human
|
3
|
+
.table
|
4
|
+
- @sums = Ecm::TimeTracking::SumsService.call(entries: @collection)
|
5
|
+
= render_resource(@sums, as: :bootstrap_attribute_table) do |table|
|
6
|
+
= table.row :overtime do |resource|
|
7
|
+
= [resource.overtime / 3600, resource.overtime / 60 % 60, resource.overtime % 60].map { |t| t.to_i.to_s.rjust(2,'0') }.join(':')
|
8
|
+
- table.resource.count_by_entry_type.each do |entry_type, count|
|
9
|
+
= table.row entry_type.identifier do |r|
|
10
|
+
= count
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_time_tracking_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -45,6 +45,7 @@ files:
|
|
45
45
|
- app/controllers/ecm/time_tracking/backend/home_controller.rb
|
46
46
|
- app/helpers/ecm/time_tracking/backend/application_helper.rb
|
47
47
|
- app/views/ecm/time_tracking/backend/entries/_form.haml
|
48
|
+
- app/views/ecm/time_tracking/backend/entries/_index_extras.haml
|
48
49
|
- app/views/ecm/time_tracking/backend/entries/_show.haml
|
49
50
|
- app/views/ecm/time_tracking/backend/entries/_table.haml
|
50
51
|
- app/views/ecm/time_tracking/backend/entry_types/_form.haml
|