vesr 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
1
-
2
1
  = simple_form_for resource do |f|
3
2
  = f.input :file, :as => :file
4
3
 
@@ -1,5 +1,4 @@
1
- .contextual
2
- = link_to t_title(:index), esr_files_path, :class => "icon icon-book"
1
+ = contextual_links
3
2
 
4
3
  = boot_page_title
5
4
  = render 'form'
@@ -1,17 +1,9 @@
1
- .contextual
2
- = link_to_function "Protokoll drucken", 'window.print()', :class => "icon icon-print"
3
- = link_to "VESR Liste", esr_files_path, :class => "icon icon-book"
4
- = link_to t_action(:show_all), {:show_valid => true}, :class => 'icon icon-show_all' unless params['show_valid']
5
- .page-head
6
- %h1 VESR Protokoll vom #{l(@esr_file.updated_at.to_date)}
1
+ = contextual_links
7
2
 
8
- - if params['show_valid'].present?
9
- %h3 Korrekte Zahlungen
10
- = render 'esr_records/list', :esr_records => @esr_file.esr_records.valid
11
- - else
12
- .alert-message.block-message.fade.in.success{'data-alert' => 'alert'}
13
- %a.close{:href => '#'} ×
14
- = "#{@esr_file.esr_records.valid.count} korrekt verbuchte Zahlungen."
3
+ = boot_page_title
4
+
5
+ %h3 Korrekte Zahlungen
6
+ = render 'esr_records/list', :esr_records => @esr_file.esr_records.valid
15
7
 
16
8
  - unless @esr_file.esr_records.invalid.empty?
17
9
  %h3 Falscher Betrag
@@ -20,5 +12,3 @@
20
12
  - unless @esr_file.esr_records.missing.empty?
21
13
  %h3 Rechnung nicht gefunden
22
14
  = render 'esr_records/list', :esr_records => @esr_file.esr_records.missing
23
-
24
- = render :partial => 'sidebar'
data/lib/vesr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vesr
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vesr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 47
4
+ hash: 45
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 12
9
- - 0
10
- version: 0.12.0
9
+ - 1
10
+ version: 0.12.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Simecek
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-04-03 00:00:00 Z
19
+ date: 2012-04-12 00:00:00 Z
20
20
  dependencies: []
21
21
 
22
22
  description: VESR provides support for ESR number calculations and gives ready to use Rails components.
@@ -47,7 +47,6 @@ files:
47
47
  - app/views/esr_files/_list.html.haml
48
48
  - app/views/esr_files/_list_records.html.haml
49
49
  - app/views/esr_files/_navigation_section.html.erb
50
- - app/views/esr_files/_sidebar.html.haml
51
50
  - app/views/esr_files/new.html.haml
52
51
  - app/views/esr_files/show.html.haml
53
52
  - app/views/esr_records/_esr_record.html.haml
@@ -95,9 +94,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
94
  requirements: []
96
95
 
97
96
  rubyforge_project:
98
- rubygems_version: 1.8.16
97
+ rubygems_version: 1.8.10
99
98
  signing_key:
100
99
  specification_version: 3
101
100
  summary: VESR invoice support library.
102
101
  test_files: []
103
102
 
103
+ has_rdoc:
@@ -1,6 +0,0 @@
1
- - content_for :sidebar do
2
- .sub-tabs
3
- %h3 Ältere Buchungsläufe
4
- %ul.pager
5
- - for esr_file in EsrFile.find :all, :limit => 10, :order => 'updated_at DESC'
6
- %li= link_to esr_file.to_s(:short), esr_file