bhf 0.4.35 → 0.4.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,8 @@
55
55
  - else
56
56
  %td.no_entries{colspan: platform.columns_count}
57
57
  = t 'bhf.pagination.info', name_zero: platform.title, count: 0
58
- = link_to new_t(platform), new_bhf_entry_path(platform.name)
58
+ - unless platform.hide_create
59
+ = link_to new_t(platform), new_bhf_entry_path(platform.name)
59
60
 
60
61
  - if platform.custom_partial
61
62
  = render partial: "bhf/pages/#{platform.custom_partial}"
@@ -1 +1 @@
1
- = l(object.send(column.name), format: :short)
1
+ = l(object.send(column.name), format: :short) if object.send(column.name)
@@ -1 +1 @@
1
- = sanitize(object.send(column.name), tags: %w(strong em))
1
+ = sanitize(object.send(column.name).to_s, tags: %w(strong em))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bhf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.35
4
+ version: 0.4.36
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-03 00:00:00.000000000 Z
12
+ date: 2013-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails