bookyt_projects 0.19.15 → 0.19.17
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.
- data/app/views/activities/_form.html.haml +5 -5
- data/app/views/activities/_list.html.haml +1 -1
- data/app/views/batch_activities/_form.html.haml +1 -1
- data/app/views/people/_show_timesheet.html.haml +3 -3
- data/app/views/projects/_form.html.haml +3 -3
- data/app/views/projects/_list.html.haml +1 -1
- data/app/views/projects/_show.html.haml +8 -5
- data/app/views/timesheets/_pager.html.haml +1 -1
- data/app/views/timesheets/_show.html.haml +1 -1
- data/lib/bookyt_projects/navigation.rb +1 -1
- data/lib/bookyt_projects/version.rb +1 -1
- metadata +4 -4
@@ -1,14 +1,14 @@
|
|
1
1
|
= semantic_form_for @activity do |f|
|
2
2
|
= f.inputs do
|
3
3
|
.row
|
4
|
-
.
|
5
|
-
.
|
4
|
+
.span6= f.input :person, :as => :combobox
|
5
|
+
.span6= f.input :project, :as => :combobox
|
6
6
|
.row
|
7
|
-
.
|
8
|
-
.
|
7
|
+
.span6= f.input :date, :as => :date_field
|
8
|
+
.span6= f.input :duration, :as => :string
|
9
9
|
|
10
10
|
.row
|
11
|
-
.
|
11
|
+
.span12= f.input :remarks, :input_html => {:rows => 2, :class => 'span12'}
|
12
12
|
|
13
13
|
= f.buttons do
|
14
14
|
= f.commit_button
|
@@ -3,7 +3,7 @@
|
|
3
3
|
= f.input :date, :as => :date_field, :label => t('attributes.date'), :input_html => {:value => @date}
|
4
4
|
|
5
5
|
= f.inputs do
|
6
|
-
%table.
|
6
|
+
%table.table.table-striped.collection
|
7
7
|
%thead
|
8
8
|
%th= t_attr :person, Activity
|
9
9
|
%th= t_attr :project, Activity
|
@@ -1,8 +1,8 @@
|
|
1
1
|
- WorkDay.create_or_update_upto(@employee, Date.today.end_of_month)
|
2
2
|
|
3
3
|
.row
|
4
|
-
.
|
4
|
+
.span12
|
5
5
|
= render 'timesheets/show', :work_days => @employee.work_days.where(:date => current_month_period(:time_sheet_period))
|
6
6
|
|
7
|
-
|
8
|
-
|
7
|
+
- content_for :sidebar do
|
8
|
+
= render 'timesheets/pager'
|
@@ -2,15 +2,15 @@
|
|
2
2
|
= f.semantic_errors
|
3
3
|
= f.inputs do
|
4
4
|
.row
|
5
|
-
.
|
5
|
+
.span6
|
6
6
|
= f.input :name, :input_html => {'data-autofocus' => 'true'}
|
7
7
|
= f.input :duration_from, :as => :date_field
|
8
8
|
= f.input :client, :as => :combobox
|
9
|
-
.
|
9
|
+
.span6
|
10
10
|
= f.input :project_state
|
11
11
|
= f.input :duration_to, :as => :date_field
|
12
12
|
.row
|
13
|
-
.
|
13
|
+
.span12
|
14
14
|
= f.input :remarks, :input_html => {:rows => 5, :class => 'span12'}
|
15
15
|
|
16
16
|
= f.buttons do
|
@@ -1,7 +1,10 @@
|
|
1
|
-
|
2
|
-
%
|
3
|
-
|
1
|
+
.tabbable
|
2
|
+
%ul.nav.nav-tabs
|
3
|
+
%li.active= link_to 'Details', '#details', {:data => {:toggle => 'tab'}}
|
4
|
+
%li= link_to 'Stundenrapport', '#activities', {:data => {:toggle => 'tab'}}
|
4
5
|
|
5
6
|
.tab-content
|
6
|
-
#details.active
|
7
|
-
|
7
|
+
#details.tab-pane.active
|
8
|
+
= render "form"
|
9
|
+
#activities.tab-pane
|
10
|
+
= render 'show_activities'
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module BookytProjects
|
2
2
|
module Navigation
|
3
3
|
def setup_bookyt_projects(navigation)
|
4
|
-
navigation.item :projects, t('bookyt.main_navigation.projects'),
|
4
|
+
navigation.item :projects, t('bookyt.main_navigation.projects'), '#', :if => Proc.new { user_signed_in? } do |projects|
|
5
5
|
projects.item :project_index, t_title(:index, Project), projects_path, :highlights_on => /\/(projects|activities)($|\/[0-9]*($|\/.*))/
|
6
6
|
projects.item :new_project, t_title(:new, Project), new_project_path
|
7
7
|
projects.item :divider, "", :class => 'divider'
|
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:
|
4
|
+
hash: 113
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 19
|
9
|
-
-
|
10
|
-
version: 0.19.
|
9
|
+
- 17
|
10
|
+
version: 0.19.17
|
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-
|
19
|
+
date: 2012-03-26 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: rails
|