Commit f731ac94 by Nguyen Vo Huy Hoang

Merge branch 'redmine_work_time' into 'master'

Disable logtime for an userstory

See merge request !4
parents da7b09ca 46c34ed7
Pipeline #1530 failed with stages
in 0 seconds
......@@ -104,6 +104,7 @@ prj_pack[:odr_issues].each do |issue_pack|
<%end%>
<%if @this_uid==@crnt_uid then%>
&nbsp;&nbsp;&nbsp;
<%if issue.tracker_id != 12 # Userstory%>
<a style="position:absolute;bottom:1px;right:10px;"
href="#"
onclick="dup_ticket(
......@@ -113,6 +114,7 @@ prj_pack[:odr_issues].each do |issue_pack|
return false;">
+
</a>
<%end%>
<%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>
<%end%>
......@@ -120,7 +122,7 @@ prj_pack[:odr_issues].each do |issue_pack|
</div>
</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>
<% if @is_registerd_backlog then %>
<td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment