clark_kent 0.9.9 → 0.10.0

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.
Files changed (34) hide show
  1. checksums.yaml +5 -5
  2. data/app/controllers/clark_kent/reports_controller.rb +2 -2
  3. data/app/models/clark_kent/report.rb +15 -4
  4. data/app/models/clark_kent/sharing_scope_kind.rb +6 -2
  5. data/app/views/clark_kent/report_columns/_form.html.erb +8 -8
  6. data/app/views/clark_kent/report_columns/_index.html.erb +3 -3
  7. data/app/views/clark_kent/report_columns/_show.html.erb +6 -6
  8. data/app/views/clark_kent/report_emails/_edit.html.erb +3 -3
  9. data/app/views/clark_kent/report_emails/_form.html.erb +3 -3
  10. data/app/views/clark_kent/report_emails/_index.html.erb +3 -3
  11. data/app/views/clark_kent/report_emails/_show.html.erb +5 -5
  12. data/app/views/clark_kent/report_filters/_form.html.erb +7 -7
  13. data/app/views/clark_kent/report_filters/_index.html.erb +3 -3
  14. data/app/views/clark_kent/report_filters/_show.html.erb +5 -5
  15. data/app/views/clark_kent/reports/_date_filter.html.erb +10 -12
  16. data/app/views/clark_kent/reports/_download_link.html.erb +1 -6
  17. data/app/views/clark_kent/reports/_edit.html.erb +31 -26
  18. data/app/views/clark_kent/reports/_number_filter.html.erb +6 -6
  19. data/app/views/clark_kent/reports/_object_filter.html.erb +4 -4
  20. data/app/views/clark_kent/reports/_print_report.html.erb +1 -1
  21. data/app/views/clark_kent/reports/_show.html.erb +4 -4
  22. data/app/views/clark_kent/reports/_string_filter.html.erb +4 -4
  23. data/app/views/clark_kent/reports/edit.html.erb +4 -4
  24. data/app/views/clark_kent/reports/new.html.erb +1 -1
  25. data/app/views/clark_kent/reports/show.html.erb +4 -4
  26. data/app/views/clark_kent/user_report_emails/_form.html.erb +4 -4
  27. data/app/views/clark_kent/user_report_emails/_index.html.erb +3 -3
  28. data/app/views/clark_kent/user_report_emails/_show.html.erb +3 -3
  29. data/lib/clark_kent/version.rb +1 -1
  30. data/test/dummy/db/development.sqlite3 +0 -0
  31. data/test/dummy/db/test.sqlite3 +0 -0
  32. data/test/dummy/log/development.log +1 -0
  33. data/test/dummy/log/test.log +519 -23772
  34. metadata +51 -49
@@ -1,4 +1,4 @@
1
- <div class="ih-row editing">
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="ih-span">
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="ih-row"><%= user_report_email.email %></div>
22
+ <div class="srow"><%= user_report_email.email %></div>
23
23
  <% end %>
24
24
  </div>
25
- <div class="ih-span right margin-top">
25
+ <div class="scol right margin-top">
26
26
  <%= f.button :submit %>
27
27
  <% unless user_report_email.new_record? %>
28
28
  &nbsp; <%= 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="ih-row">
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="ih-row margin-top">
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="ih-row margin-top">
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="ih-row read-only">
2
- <div class="ih-span">
1
+ <div class="srow read-only">
2
+ <div class="scol">
3
3
  <%= user_report_email.user.full_name %>
4
4
  </div>
5
- <div class="ih-span right">
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,
@@ -1,3 +1,3 @@
1
1
  module ClarkKent
2
- VERSION = "0.9.9"
2
+ VERSION = "0.10.0"
3
3
  end
File without changes
Binary file
@@ -0,0 +1 @@
1
+ ClarkKent::Report Load (0.2ms) SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT ? [["LIMIT", 1]]