bookyt_projects 0.19.17 → 0.19.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  - WorkDay.create_or_update_upto(@employee, Date.today.end_of_month)
2
2
 
3
3
  .row
4
- .span12
4
+ .span6
5
5
  = render 'timesheets/show', :work_days => @employee.work_days.where(:date => current_month_period(:time_sheet_period))
6
6
 
7
7
  - content_for :sidebar do
@@ -1,4 +1,6 @@
1
- %h3 t_title('title.period')
1
+ - filter_name = :time_sheet_period
2
+ - params[filter_name] ||= {"from" => Date.today.beginning_of_month.to_s(:db), "to" => Date.today.end_of_month.to_s(:db)}
2
3
 
3
- %ul.pager
4
- = month_pages(:time_sheet_period)
4
+ - content_for :sidebar do
5
+ - filters = month_periods
6
+ = boot_nav_filter(filter_name, filters)
@@ -63,3 +63,6 @@ de:
63
63
  projects:
64
64
  index:
65
65
  title: Projekte
66
+
67
+ time_sheet_period:
68
+ title: Zeitraum
@@ -1,3 +1,3 @@
1
1
  module BookytPos
2
- VERSION = '0.19.17'
2
+ VERSION = '0.19.18'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookyt_projects
3
3
  version: !ruby/object:Gem::Version
4
- hash: 113
4
+ hash: 119
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 19
9
- - 17
10
- version: 0.19.17
9
+ - 18
10
+ version: 0.19.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roman Simecek (CyT)
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-03-26 00:00:00 Z
19
+ date: 2012-04-02 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails
@@ -182,9 +182,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  requirements: []
183
183
 
184
184
  rubyforge_project:
185
- rubygems_version: 1.8.16
185
+ rubygems_version: 1.8.10
186
186
  signing_key:
187
187
  specification_version: 3
188
188
  summary: Project management plugin for bookyt
189
189
  test_files: []
190
190
 
191
+ has_rdoc: