Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
50364780
Commit
50364780
authored
Oct 28, 2011
by
Romano Licker
Committed by
Holger Just
Oct 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#667] improved code readability
parent
e8a42c93
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
_date_range.rhtml
app/views/timelog/_date_range.rhtml
+14
-5
No files found.
app/views/timelog/_date_range.rhtml
View file @
50364780
...
...
@@ -14,11 +14,20 @@
<%=
radio_button_tag
'period_type'
,
'2'
,
@free_period
,
:onclick
=>
'Form.Element.enable("from");Form.Element.enable("to");Form.Element.disable("period");'
,
:id
=>
"period_type_interval"
%>
<span
onclick=
"$('period_type_2').checked = true;"
>
<%=
l
(
:label_date_from_to
,
:start
=>
((
label_tag
"from"
,
l
(
:description_date_from
),
:class
=>
"hidden-for-sighted"
)
+
text_field_tag
(
'from'
,
@from
,
:size
=>
10
,
:disabled
=>
!
@free_period
)
+
calendar_for
(
'from'
)),
:end
=>
((
label_tag
"to"
,
l
(
:description_date_to
),
:class
=>
"hidden-for-sighted"
)
+
text_field_tag
(
'to'
,
@to
,
:size
=>
10
,
:disabled
=>
!
@free_period
)
+
calendar_for
(
'to'
)))
%>
<%=
l
(
:label_date_from_to
,
:start
=>
(
label_tag
(
"from"
,
l
(
:description_date_from
),
:class
=>
"hidden-for-sighted"
)
+
text_field_tag
(
'from'
,
@from
,
:size
=>
10
,
:disabled
=>
!
@free_period
)
+
calendar_for
(
'from'
)
),
:end
=>
(
label_tag
(
"to"
,
l
(
:description_date_to
),
:class
=>
"hidden-for-sighted"
)
+
text_field_tag
(
'to'
,
@to
,
:size
=>
10
,
:disabled
=>
!
@free_period
)
+
calendar_for
(
'to'
)
)
)
%>
</span>
</p>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment