Commit 46c34ed7 by Nguyen Vo Huy Hoang

Disable logtime for an userstory

parent 0cb752ee
Pipeline #1529 failed with stages
in 0 seconds
...@@ -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%>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
<%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>
......
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