bookyt_stock 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,6 @@
4
4
 
5
5
  #assets_list
6
6
  - unless resource.stocks.empty?
7
- %table.zebra-striped.collection
7
+ %table.table.table-striped.collection
8
8
  %thead
9
9
  = render :partial => 'stock', :collection => resource.stocks
@@ -1,4 +1,4 @@
1
- %table.zebra-striped.stocks.collection
1
+ %table.table.table-striped.stocks.collection
2
2
  %thead
3
3
  %tr
4
4
  %th= t_attr :title, Stock
@@ -1,5 +1,5 @@
1
1
  = contextual_links
2
2
 
3
- %h2= t_title
3
+ =boot_page_title
4
4
 
5
5
  = render 'form'
@@ -1,6 +1,7 @@
1
1
  = contextual_links
2
2
 
3
- %h1= t_title
3
+ =boot_page_title
4
+
4
5
  = render 'search_form'
5
6
 
6
7
  = paginated_section collection do
@@ -2,9 +2,9 @@
2
2
  = icon_link_to :pdf, :format => :pdf
3
3
  = contextual_links_for
4
4
 
5
- %h1= resource.title
5
+ =boot_page_title
6
6
  .box
7
- %table{:style => "width: 100%"}
7
+ %table.table.table-striped.collection
8
8
  %tr
9
9
  %th= t_attr(:title)
10
10
  %td= resource.title
@@ -1,8 +1,8 @@
1
1
  = contextual_links
2
2
 
3
- %h1= t_title
3
+ =boot_page_title
4
4
 
5
- %table.zebra-striped.stocks_write_downs.collection
5
+ %table.table.table-striped.stocks_write_downs.collection
6
6
  %thead
7
7
  %tr
8
8
  %th= t_attr :title, Stock
@@ -1,7 +1,7 @@
1
1
  module BookytStock
2
2
  module Navigation
3
3
  def setup_bookyt_stock(navigation)
4
- navigation.item :stocks, t_title(:index, Stock), stocks_path,
4
+ navigation.item :stocks, t_title(:index, Stock), '#',
5
5
  :if => Proc.new { user_signed_in? } do |stocks|
6
6
  stocks.item :stock_list, t_title(:index, Stock), stocks_path, :highlights_on => /\/stocks($|\/[0-9]*($|\/.*))/
7
7
  stocks.item :new_stock, t_title(:new, Stock), new_stock_path
@@ -1,3 +1,3 @@
1
1
  module BookytStock
2
- VERSION = '0.5.3'
2
+ VERSION = '0.5.4'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookyt_stock
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
9
+ - 4
10
+ version: 0.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Simon H\xC3\xBCrlimann (CyT)"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-25 00:00:00 Z
18
+ date: 2012-03-26 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: This plugin extends bookyt with asset/stock functionality.
@@ -77,10 +77,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  requirements: []
78
78
 
79
79
  rubyforge_project:
80
- rubygems_version: 1.8.10
80
+ rubygems_version: 1.8.16
81
81
  signing_key:
82
82
  specification_version: 3
83
83
  summary: Stock plugin for bookyt
84
84
  test_files: []
85
85
 
86
- has_rdoc: