We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a196aaa commit c096ddeCopy full SHA for c096dde
app/views/timelog/_form.html.erb
@@ -13,7 +13,7 @@
13
<% end %>
14
<p>
15
<%= f.text_field :issue_id, :size => 6 %>
16
- <span id="time_entry_issue"><%= "#{@time_entry.issue.tracker.name} ##{@time_entry.issue.id}: #{@time_entry.issue.subject}" if @time_entry.issue %></span>
+ <span id="time_entry_issue"><%= "#{@time_entry.issue.tracker.name} ##{@time_entry.issue.id}: #{@time_entry.issue.subject}" if @time_entry.issue.try(:visible?) %></span>
17
</p>
18
<p><%= f.text_field :spent_on, :size => 10, :required => true %><%= calendar_for('time_entry_spent_on') %></p>
19
<p><%= f.text_field :hours, :size => 6, :required => true %></p>
0 commit comments