Project

General

Profile

Defect #44570 ยป 0001-Do-not-render-empty-time-entry-notes.patch

Florian Walchshofer, 2026-10-02 22:36

View differences:

app/views/issues/tabs/_time_entries.html.erb
25 25
          <%= l_hours_short time_entry.hours %>
26 26
        </li>
27 27
      </ul>
28
      <div class="journal-note">
29
        <%= time_entry.comments %>
30
      </div>
28
      <% if time_entry.comments.present? %>
29
        <div class="journal-note">
30
          <%= time_entry.comments %>
31
        </div>
32
      <% end %>
31 33
    </div>
32 34
  </div>
33 35
  <%= call_hook(:view_issues_history_time_entry_bottom, { :time_entry => time_entry }) %>
    (1-1/1)