Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
redmine_v2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VeNtura
redmine_v2
Commits
46c34ed7
Commit
46c34ed7
authored
Sep 29, 2022
by
Nguyen Vo Huy Hoang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable logtime for an userstory
parent
0cb752ee
Pipeline
#1529
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
plugins/redmine_work_time/app/views/work_time/_user_day_table.html.erb
+3
-1
No files found.
plugins/redmine_work_time/app/views/work_time/_user_day_table.html.erb
View file @
46c34ed7
...
@@ -104,6 +104,7 @@ prj_pack[:odr_issues].each do |issue_pack|
...
@@ -104,6 +104,7 @@ prj_pack[:odr_issues].each do |issue_pack|
<%
end
%>
<%
end
%>
<%
if
@this_uid
==
@crnt_uid
then
%>
<%
if
@this_uid
==
@crnt_uid
then
%>
<%
if
issue
.
tracker_id
!=
12
# Userstory
%>
<a
style=
"position:absolute;bottom:1px;right:10px;"
<a
style=
"position:absolute;bottom:1px;right:10px;"
href=
"#"
href=
"#"
onclick=
"dup_ticket(
onclick=
"dup_ticket(
...
@@ -113,6 +114,7 @@ prj_pack[:odr_issues].each do |issue_pack|
...
@@ -113,6 +114,7 @@ prj_pack[:odr_issues].each do |issue_pack|
return false;"
>
return false;"
>
+
+
</a>
</a>
<%
end
%>
<%
if
issue_odr
>
0
then
%>
<%
if
issue_odr
>
0
then
%>
<a
style=
"position:absolute;bottom:1px;right:3px;"
href=
"
<%=
url_for
(
@link_params
.
merge
(
:ticket_del
=>
issue_id
))
%>
"
>
x
</a>
<a
style=
"position:absolute;bottom:1px;right:3px;"
href=
"
<%=
url_for
(
@link_params
.
merge
(
:ticket_del
=>
issue_id
))
%>
"
>
x
</a>
<%
end
%>
<%
end
%>
...
@@ -120,7 +122,7 @@ prj_pack[:odr_issues].each do |issue_pack|
...
@@ -120,7 +122,7 @@ prj_pack[:odr_issues].each do |issue_pack|
</div>
</div>
</td>
</td>
<td>
<td>
<%=
text_field_tag
(
"new_time_entry["
+
issue_id
.
to_s
+
"][0][hours]"
,
""
,
:size
=>
5
,
:oninput
=>
"sumDayTimes()"
)
%>
<%=
text_field_tag
(
"new_time_entry["
+
issue_id
.
to_s
+
"][0][hours]"
,
""
,
:size
=>
5
,
:oninput
=>
"sumDayTimes()"
,
:readonly
=>
issue
.
tracker_id
==
12
?
true
:
false
)
%>
</td>
</td>
<%
if
@is_registerd_backlog
then
%>
<%
if
@is_registerd_backlog
then
%>
<td>
<td>
...
...
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