e9_rails 0.0.16 → 0.1.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.
@@ -73,7 +73,7 @@ module E9Rails::Controllers
73
73
 
74
74
  module HelperMethods
75
75
  def orderable_column_link(column, override_name = nil)
76
- link_text = resource_class.human_attribute_name(override_name || column)
76
+ link_text = %Q[<span class="text">#{resource_class.human_attribute_name(override_name || column)}</span>].html_safe
77
77
 
78
78
  column = column.join(',') if column.is_a?(Array)
79
79
 
@@ -85,8 +85,10 @@ module E9Rails::Controllers
85
85
 
86
86
  css_classes = ["order-gfx", co, "h-#{lo}"].compact.join(' ').downcase
87
87
 
88
+ link_text.safe_concat tag(:span, :class => css_classes)
89
+
88
90
  content_tag(:div, :class => 'ordered-column') do
89
- link_to(link_text, :order => column, :sort => lo).safe_concat tag(:span, :class => css_classes)
91
+ link_to(link_text, :order => column, :sort => lo)
90
92
  end
91
93
  end
92
94
  end
@@ -1,3 +1,3 @@
1
1
  module E9Rails
2
- VERSION = "0.0.16"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: e9_rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.16
5
+ version: 0.1.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Travis Cox
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-27 00:00:00 -04:00
13
+ date: 2011-08-03 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency