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 +4 -4
- data/app/views/clark_kent/reports/index.html.erb +2 -16
- data/lib/clark_kent/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cafb15f2648e4366ca70284f69e000473acd156706113d996bb14319af20a69
|
4
|
+
data.tar.gz: 05fc2be23d3dd12fc6ea283265292f6fdc83d7be2acbbe072cf05abe6fb237c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cba605e90daccc1dcc3ea2c614646459ac8cf90f5b312a84ae7dbf4200e85aa15fe4eb922c94cc9c9dfbf1398fdbd8b2f1021e93e7fb345d98a9388a405acb2a
|
7
|
+
data.tar.gz: 95bd50f305d061e2737afea4124fa40eb47c164141c6930907a2f512d394e78b4e929fcd38a1d51ca0380af1415c4e62bd3319b05e1dfb52a4154339a55fdfb6
|
@@ -1,20 +1,6 @@
|
|
1
1
|
<h1>Reports</h1>
|
2
|
-
<% ClarkKent::
|
3
|
-
|
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">
|
data/lib/clark_kent/version.rb
CHANGED