sunrise-scaffold 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,8 @@
23
23
  </div>
24
24
  <div class="sort">
25
25
  <label><%%= t('manage.sort') %></label>
26
- <div class="select-input"><%%= link_to_function t("<%= plural_name %>.#{@search.order_column}_#{@search.order_type}", :scope => [:manage, :sort_columns], :default => :"#{@search.order_column}_#{@search.order_type}"), "SelectList.toggle(event)", :class=>"corn", :id=>'sort_select' %></div>
26
+ <div class="select-input"><%%= link_to_function t(search_filter.current_order, :scope => "manage.<%= plural_name %>.sort"), "SelectList.toggle(event)", :class=>"corn", :id=>'sort_select' %>
27
+ </div>
27
28
  <div id='sort_select_list' class="select-list" style='display:none;'>
28
29
  <%% controller.orders_configuration.each do |key, value| %>
29
30
  <%%= link_to_sort(t("#{key}_desc", :scope => "manage.<%= plural_name %>.sort"), :name => key, :order_type=>'desc') %>
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Sunrise
3
3
  module Scaffold
4
- VERSION = "0.2.0".freeze
4
+ VERSION = "0.2.1".freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunrise-scaffold
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Igor Galeta
@@ -16,8 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-09-01 00:00:00 +03:00
20
- default_executable:
19
+ date: 2012-04-09 00:00:00 Z
21
20
  dependencies: []
22
21
 
23
22
  description: Sunrise is a Aimbulance CMS
@@ -112,7 +111,6 @@ files:
112
111
  - test/tmp/spec/controllers/manage/posts_controller_spec.rb
113
112
  - test/support/integration_case.rb
114
113
  - test/test_helper.rb
115
- has_rdoc: true
116
114
  homepage: https://github.com/galetahub/sunrise-scaffold
117
115
  licenses: []
118
116
 
@@ -142,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
140
  requirements: []
143
141
 
144
142
  rubyforge_project: sunrise-core
145
- rubygems_version: 1.6.2
143
+ rubygems_version: 1.8.10
146
144
  signing_key:
147
145
  specification_version: 3
148
146
  summary: Rails CMS