clark_kent 0.11.1 → 0.11.2

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
  SHA256:
3
- metadata.gz: 3ad8805f3cc8efb6d5594d7ce6d7eec6943f41e89a80b426d538da4951d23477
4
- data.tar.gz: eeaefebc80c3c6e3bc7503250a9423608673ec47dd2794e961c27f1d059d1c63
3
+ metadata.gz: 1cafb15f2648e4366ca70284f69e000473acd156706113d996bb14319af20a69
4
+ data.tar.gz: 05fc2be23d3dd12fc6ea283265292f6fdc83d7be2acbbe072cf05abe6fb237c5
5
5
  SHA512:
6
- metadata.gz: 8f0f08a06943d94df1541c19a289b948dac45e3261ac7daa1f394d975472149dbf13b54d1437563b5058b9c625ad57277c041804ea2d2f1ca22a1d061b9f48aa
7
- data.tar.gz: e7e9d27ec635b86ac8e644641385a19dbd08b22bc19476854713859fd2f515c28b443339c26a5cb75f1bf1c4e6c8a36101364d1636091c3e43a74a5f6bf7c960
6
+ metadata.gz: cba605e90daccc1dcc3ea2c614646459ac8cf90f5b312a84ae7dbf4200e85aa15fe4eb922c94cc9c9dfbf1398fdbd8b2f1021e93e7fb345d98a9388a405acb2a
7
+ data.tar.gz: 95bd50f305d061e2737afea4124fa40eb47c164141c6930907a2f512d394e78b4e929fcd38a1d51ca0380af1415c4e62bd3319b05e1dfb52a4154339a55fdfb6
@@ -1,20 +1,6 @@
1
1
  <h1>Reports</h1>
2
- <% ClarkKent::SharingScopeKind.all.each do |sharing_scope_kind| %>
3
- <% sharing_scope_kind.scopes_for(clark_kent_user).each do |sharing_scope| %>
4
- <% if sharing_scope.reports.any? %>
5
- <div id="<%= sharing_scope.dom_id %>">
6
- <h3><%= sharing_scope.human_name %></h3>
7
- <% sharing_scope.reports.each do |report| %>
8
- <%= link_to report.name, report_url(report) %> <%= link_to '(edit)', edit_report_url(report) %><br>
9
- <% end %>
10
- <% if 'everyone' == sharing_scope_kind.type %>
11
- <% ClarkKent.custom_report_links.each do |link_text,link_path_string| %>
12
- <%= link_to link_text, eval("main_app.#{link_path_string}") %><br>
13
- <% end %>
14
- <% end %>
15
- </div>
16
- <% end %>
17
- <% end %>
2
+ <% ClarkKent::Report.all.each do |report| %>
3
+ <%= link_to report.name, report_url(report) %> <%= link_to '(edit)', edit_report_url(report) %><br>
18
4
  <% end %>
19
5
  <hr>
20
6
  <div id="controls">
@@ -1,3 +1,3 @@
1
1
  module ClarkKent
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clark_kent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut