metric_admin 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af4f01c5f08384c52bc6b960ab529f15f2366d80
4
- data.tar.gz: 5f459d589c34fa3ea71c69cc946d8c1d62439c65
3
+ metadata.gz: 38f34b239f101db0997d7d5821685ed141e288a6
4
+ data.tar.gz: c6b20ec1f03b28c84ea1925855df61cbfa0c70a1
5
5
  SHA512:
6
- metadata.gz: e5dcb9806c4795e0d706b62dd1cd09ba7a57a562016d1d24300d1aa60c18dbeba19c474b672370d588c83e45188cf4fbd2184a0c3dc92f029c64c3a29f4ac90a
7
- data.tar.gz: a3392b6a94361320349511196141e95e15d03a95a2e8161495af70d991de08c810c8ed690962e7d9b3fe4b664a1859e2cd9e71fcb91cbfe7fef534495c07f43f
6
+ metadata.gz: e7af9a114a199cbd6775d0feb77013f28bc24eafd7fbed890e90c44e93485104b1a04e7ec43a0b89d31327bbac19591e95cd4afa83d38d534f1d64b2aaa9c619
7
+ data.tar.gz: 7f782d077ee609da1381171543c0eefd2f54e390ad6817c1c583d349e83677b33576a743aa6d3d3b6257999bd7307d18fc5d176b6c0308ba2a1c26784afc1f0a
@@ -27,7 +27,6 @@
27
27
  = category.present? ? category : 'No Category'
28
28
 
29
29
  - _metrics.each do |metric|
30
- %p=c.name
31
30
  %div.item.list-group-item{:class => cycle('odd', 'even'), :id => "metric-#{metric.id}"}
32
31
  = link_to metric.title, edit_admin_metric_path(metric.id,:category => c.name)
33
32
 
@@ -37,16 +36,17 @@
37
36
  %p.label{:style=>"margin-left:5px;"} Not Active
38
37
 
39
38
  .pull-right
40
- .btn-group
41
- %button.btn Action
42
- %button.btn.dropdown-toggle{"data-toggle" => "dropdown"}
43
- %span.caret
44
- %ul.dropdown-menu
45
- %li
46
- = link_to "Edit".html_safe, edit_admin_metric_path(metric.id)
47
- %li
48
- = link_to "Calculate", "/admin/metrics/#{metric.id}/calculate"
49
- %li
50
- = link_to "Clone", "/admin/metrics/#{metric.id}/clone"
51
- %li
52
- = link_to "Delete", admin_metric_path(metric.id), :confirm => "Are you sure?", :method => :delete
39
+ .btn-toolbar.actions{:style => "margin: 0;"}
40
+ .btn-group
41
+ %button.btn Action
42
+ %button.btn.dropdown-toggle{"data-toggle" => "dropdown"}
43
+ %span.caret
44
+ %ul.dropdown-menu
45
+ %li
46
+ = link_to "Edit".html_safe, edit_admin_metric_path(metric.id)
47
+ %li
48
+ = link_to "Calculate", "/admin/metrics/#{metric.id}/calculate"
49
+ %li
50
+ = link_to "Clone", "/admin/metrics/#{metric.id}/clone"
51
+ %li
52
+ = link_to "Delete", admin_metric_path(metric.id), :confirm => "Are you sure?", :method => :delete
@@ -1,3 +1,3 @@
1
1
  module MetricAdmin
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metric_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Analytics For Lawyers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-30 00:00:00.000000000 Z
11
+ date: 2016-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler