bookyt_projects 0.19.19 → 0.19.20
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 +10 -12
- data/app/views/batch_activities/_form.html.haml +19 -22
- data/app/views/people/_show_timesheet.html.haml +1 -1
- data/app/views/project_states/_form.html.haml +2 -4
- data/app/views/projects/_form.html.haml +13 -16
- data/lib/bookyt_projects/version.rb +1 -1
- metadata +3 -3
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
=
|
|
2
|
-
|
|
3
|
-
.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
.span5= f.input :duration, :as => :string
|
|
1
|
+
= simple_form_for @activity do |f|
|
|
2
|
+
.row-fluid
|
|
3
|
+
.span6= f.input :person, :as => :combobox
|
|
4
|
+
.span6= f.input :project, :as => :combobox
|
|
5
|
+
.row-fluid
|
|
6
|
+
.span6= f.input :date, :as => :date_field
|
|
7
|
+
.span6= f.input :duration, :as => :string
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
.row-fluid
|
|
10
|
+
.span12= f.input :remarks, :input_html => {:rows => 2}
|
|
12
11
|
|
|
13
|
-
= f.
|
|
14
|
-
= f.commit_button
|
|
12
|
+
= f.button :submit
|
|
@@ -1,25 +1,22 @@
|
|
|
1
|
-
=
|
|
2
|
-
= f.
|
|
3
|
-
= f.input :date, :as => :date_field, :label => t('attributes.date'), :input_html => {:value => @date}
|
|
1
|
+
= simple_form_for :batch_activities, :url => batch_activities_path do |f|
|
|
2
|
+
= f.input :date, :as => :date_field, :label => t('attributes.date'), :input_html => {:value => @date}
|
|
4
3
|
|
|
5
|
-
|
|
6
|
-
%
|
|
7
|
-
%
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
%th= t_attr :remarks, Activity
|
|
4
|
+
%table.table.table-striped.collection
|
|
5
|
+
%thead
|
|
6
|
+
%th= t_attr :person, Activity
|
|
7
|
+
%th= t_attr :project, Activity
|
|
8
|
+
%th{:style => 'width: 5em'}= t_attr :duration, Activity
|
|
9
|
+
%th= t_attr :remarks, Activity
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
%tbody
|
|
12
|
+
- for activity in @activities
|
|
13
|
+
%tr
|
|
14
|
+
= fields_for 'activities[]', activity do |a|
|
|
15
|
+
%td
|
|
16
|
+
= link_to activity.person, activity.person
|
|
17
|
+
= a.hidden_field :person_id
|
|
18
|
+
%td= a.select :project_id, Project.all.map{|project| [project.to_s, project.id]}, {:prompt => t_select_prompt(Project)}
|
|
19
|
+
%td= a.text_field :duration
|
|
20
|
+
%td= a.text_field :remarks
|
|
23
21
|
|
|
24
|
-
= f.
|
|
25
|
-
= f.commit_button
|
|
22
|
+
= f.button :submit
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
=
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.span10
|
|
14
|
-
= f.input :remarks, :input_html => {:rows => 5, :class => 'span10'}
|
|
1
|
+
= simple_form_for @project do |f|
|
|
2
|
+
.row-fluid
|
|
3
|
+
.span6
|
|
4
|
+
= f.input :name, :input_html => {'data-autofocus' => 'true'}
|
|
5
|
+
= f.input :duration_from, :as => :date_field
|
|
6
|
+
= f.input :client, :as => :combobox
|
|
7
|
+
.span6
|
|
8
|
+
= f.input :project_state
|
|
9
|
+
= f.input :duration_to, :as => :date_field
|
|
10
|
+
.row-fluid
|
|
11
|
+
.span12
|
|
12
|
+
= f.input :remarks, :input_html => {:rows => 5}
|
|
15
13
|
|
|
16
|
-
= f.
|
|
17
|
-
= f.commit_button
|
|
14
|
+
= f.button :submit
|
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: 123
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 19
|
|
9
|
-
-
|
|
10
|
-
version: 0.19.
|
|
9
|
+
- 20
|
|
10
|
+
version: 0.19.20
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Roman Simecek (CyT)
|