clark_kent 0.9.9 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/controllers/clark_kent/reports_controller.rb +2 -2
- data/app/models/clark_kent/report.rb +15 -4
- data/app/models/clark_kent/sharing_scope_kind.rb +6 -2
- data/app/views/clark_kent/report_columns/_form.html.erb +8 -8
- data/app/views/clark_kent/report_columns/_index.html.erb +3 -3
- data/app/views/clark_kent/report_columns/_show.html.erb +6 -6
- data/app/views/clark_kent/report_emails/_edit.html.erb +3 -3
- data/app/views/clark_kent/report_emails/_form.html.erb +3 -3
- data/app/views/clark_kent/report_emails/_index.html.erb +3 -3
- data/app/views/clark_kent/report_emails/_show.html.erb +5 -5
- data/app/views/clark_kent/report_filters/_form.html.erb +7 -7
- data/app/views/clark_kent/report_filters/_index.html.erb +3 -3
- data/app/views/clark_kent/report_filters/_show.html.erb +5 -5
- data/app/views/clark_kent/reports/_date_filter.html.erb +10 -12
- data/app/views/clark_kent/reports/_download_link.html.erb +1 -6
- data/app/views/clark_kent/reports/_edit.html.erb +31 -26
- data/app/views/clark_kent/reports/_number_filter.html.erb +6 -6
- data/app/views/clark_kent/reports/_object_filter.html.erb +4 -4
- data/app/views/clark_kent/reports/_print_report.html.erb +1 -1
- data/app/views/clark_kent/reports/_show.html.erb +4 -4
- data/app/views/clark_kent/reports/_string_filter.html.erb +4 -4
- data/app/views/clark_kent/reports/edit.html.erb +4 -4
- data/app/views/clark_kent/reports/new.html.erb +1 -1
- data/app/views/clark_kent/reports/show.html.erb +4 -4
- data/app/views/clark_kent/user_report_emails/_form.html.erb +4 -4
- data/app/views/clark_kent/user_report_emails/_index.html.erb +3 -3
- data/app/views/clark_kent/user_report_emails/_show.html.erb +3 -3
- data/lib/clark_kent/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +1 -0
- data/test/dummy/log/test.log +519 -23772
- metadata +51 -49
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="
|
1
|
+
<div class="srow editing">
|
2
2
|
<%= simple_form_for user_report_email,
|
3
3
|
defaults: {
|
4
4
|
wrapper_html: { class: 'span2'},
|
@@ -14,15 +14,15 @@
|
|
14
14
|
error_target: "#new_user_report_email_container_#{user_report_email.report_email_id}",
|
15
15
|
container: "#new_user_report_email_container_#{user_report_email.report_email_id}",
|
16
16
|
ajax_flash: true }} do |f| %>
|
17
|
-
<div class="
|
17
|
+
<div class="scol">
|
18
18
|
<%= f.input :report_email_id, as: :hidden %>
|
19
19
|
<% if user_report_email.new_record? %>
|
20
20
|
<%= f.input :email, label: 'email address' %>
|
21
21
|
<% else %>
|
22
|
-
<div class="
|
22
|
+
<div class="srow"><%= user_report_email.email %></div>
|
23
23
|
<% end %>
|
24
24
|
</div>
|
25
|
-
<div class="
|
25
|
+
<div class="scol right margin-top">
|
26
26
|
<%= f.button :submit %>
|
27
27
|
<% unless user_report_email.new_record? %>
|
28
28
|
<%= link_to 'cancel', user_report_email_url(user_report_email),
|
@@ -1,16 +1,16 @@
|
|
1
1
|
<div id="user_report_emails_container_<%= report_email.id %>">
|
2
2
|
<h3>Who to email</h3>
|
3
|
-
<div id="user_report_email_list_<%= report_email.id %>" class="
|
3
|
+
<div id="user_report_email_list_<%= report_email.id %>" class="srow">
|
4
4
|
<% for user_report_email in report_email.user_report_emails %>
|
5
5
|
<%= render partial: '/clark_kent/user_report_emails/show_wrapper', locals: {user_report_email: user_report_email} %>
|
6
6
|
<% end %>
|
7
7
|
</div>
|
8
8
|
|
9
|
-
<div class="
|
9
|
+
<div class="srow margin-top">
|
10
10
|
<%= link_to 'Add an email address', new_user_report_email_url(report_email_id: report_email.id), class: 'btn btn-primary', data: {ajax_link: "true", ajax_target: "#new_user_report_email_container_#{report_email.id}" } %>
|
11
11
|
</div>
|
12
12
|
|
13
|
-
<div id="new_user_report_email_container_<%= report_email.id %>" class="
|
13
|
+
<div id="new_user_report_email_container_<%= report_email.id %>" class="srow margin-top">
|
14
14
|
|
15
15
|
</div>
|
16
16
|
</div>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
<div class="
|
2
|
-
<div class="
|
1
|
+
<div class="srow read-only">
|
2
|
+
<div class="scol">
|
3
3
|
<%= user_report_email.user.full_name %>
|
4
4
|
</div>
|
5
|
-
<div class="
|
5
|
+
<div class="scol right">
|
6
6
|
<%= link_to 'edit', edit_user_report_email_url(user_report_email),
|
7
7
|
data: {
|
8
8
|
ajax_link: true,
|
data/lib/clark_kent/version.rb
CHANGED
File without changes
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
[1m[36mClarkKent::Report Load (0.2ms)[0m [1m[34mSELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|