radiant-database_mailer-extension 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,34 +1,34 @@
1
- .grey
2
- #filtering
3
- = render :partial => "filters"
4
- = render :partial => "export"
5
- #results
6
- %table.results
7
- %thead
8
- %tr
9
- %th.created_at= sortable_column_head "Created at", :created_at
10
- %th.url= sortable_column_head "URL", :url
11
- - each_data_column do |k|
12
- %th= sortable_column_head k.to_s.capitalize, k
13
- %th.exported= sortable_column_head "Exported", :exported
14
- %th.actions Actions
15
- %tbody
16
- - @saved_items.each do |si|
1
+ .outset
2
+ #grey
3
+ #filtering
4
+ = render :partial => "filters"
5
+ = render :partial => "export"
6
+ #results
7
+ %table.results.index
8
+ %thead
17
9
  %tr
18
- %td= date_format(si.created_at)
19
- %td= si.url
20
- = data_columns.map { |k| "<td>#{si.send(k)}</td>" }
21
- %td= si.exported ? date_format(si.exported) : "no"
22
- %td.actions
23
- = link_to "Show", admin_form_data_path(si)
24
- = link_to 'Delete', admin_form_data_path(si.id), :method => :delete, :confirm => "Really delete record?"
25
- - if @saved_items.empty?
10
+ %th.created_at= sortable_column_head "Created at", :created_at
11
+ %th.url= sortable_column_head "URL", :url
12
+ - each_data_column do |k|
13
+ %th= sortable_column_head k.to_s.capitalize, k
14
+ %th.exported= sortable_column_head "Exported", :exported
15
+ %th.actions Actions
16
+ %tbody
17
+ - @saved_items.each do |si|
18
+ %tr
19
+ %td= date_format(si.created_at)
20
+ %td= si.url
21
+ = data_columns.map { |k| "<td>#{si.send(k)}</td>" }.join
22
+ %td= si.exported ? date_format(si.exported) : "no"
23
+ %td.actions
24
+ = link_to "Show", admin_form_data_path(si)
25
+ = link_to 'Delete', admin_form_data_path(si.id), :method => :delete, :confirm => "Really delete record?"
26
+ - if @saved_items.empty?
27
+ %tr
28
+ %td{:colspan => data_columns.size + 2} No Results!
29
+ %tfoot
26
30
  %tr
27
- %td{:colspan => data_columns.size + 2} No Results!
28
- %tfoot
29
- %tr
30
- %th{:colspan => 4}
31
- = page_entries_info @saved_items
32
- %th{:colspan => "#{data_columns.size}"}
33
- = will_paginate @saved_items, :inner_window => 1, :outer_window => 1
34
-
31
+ %th{:colspan => 4}
32
+ = page_entries_info @saved_items
33
+ %th{:colspan => "#{data_columns.size}"}
34
+ = will_paginate @saved_items, :inner_window => 1, :outer_window => 1
@@ -1,5 +1,5 @@
1
1
  module RadiantDatabaseMailerExtension
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  SUMMARY = %q{Database mailer for Radiant CMS}
4
4
  DESCRIPTION = %q{Save fields from mailer forms to the database.}
5
5
  URL = "http://blog.aissac.ro/radiant/database-mailer-extension/"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-database_mailer-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
4
+ hash: 17
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Cristi Duma
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-01-22 00:00:00 +01:00
19
+ date: 2012-02-20 00:00:00 +01:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -74,6 +74,7 @@ files:
74
74
  - public/javascripts/admin/database_mailer.js
75
75
  - public/stylesheets/sass/admin/database_mailer.sass
76
76
  - radiant-database_mailer-extension-1.0.1.gem
77
+ - radiant-database_mailer-extension-1.0.2.gem
77
78
  - radiant-database_mailer-extension.gemspec
78
79
  - Rakefile
79
80
  - README.md
@@ -115,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
116
  requirements: []
116
117
 
117
118
  rubyforge_project:
118
- rubygems_version: 1.3.7
119
+ rubygems_version: 1.4.2
119
120
  signing_key:
120
121
  specification_version: 3
121
122
  summary: Database mailer for Radiant CMS