Skip to content

Commit

Permalink
Fixes zammad#4801 - Ticket history links "System" to user ID 1.
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Liebe <[email protected]>
  • Loading branch information
rolfschmidt and fliebe92 committed Sep 8, 2023
1 parent 4e97a7b commit 7db0674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/app/views/generic/history.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="history-row-list">
<% for source in item.sources: %>
<% for source_user in source.users: %>
<span<% if !source.sourceable_name: %> class="user-popover" data-id="<%= source_user.id %>"<% end %>>
<span<% if !source.sourceable_name && source_user.id != 1: %> class="user-popover" data-id="<%= source_user.id %>"<% end %>>
<% if source.sourceable_name: %>
<%= @T(source.sourceable_type) %>: <%= @T(source.sourceable_name) %>
<% else if source_user.id == 1: %>
Expand Down

0 comments on commit 7db0674

Please sign in to comment.