Skip to content

Commit

Permalink
Merge pull request #25317 from frappe/mergify/bp/version-15-hotfix/pr…
Browse files Browse the repository at this point in the history
…-25315

fix: missing timeline timestamp for comments (backport #25315)
  • Loading branch information
ankush committed Mar 11, 2024
2 parents 7ba0f8a + 27357fb commit 781c0ee
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{% } %}

<div class="text-muted">
{{ comment_when(doc.communication_date) }}
{{ comment_when(doc.communication_date || doc.creation) }}
</div>
</span>
{% } else if (doc.comment_type && doc.comment_type == "Comment") { %}
Expand All @@ -33,7 +33,7 @@
<span class="text-muted">{{ __("commented") }}</span>
<span> . </span>
<span class="margin-left text-muted">
{{ comment_when(doc.communication_date) }}
{{ comment_when(doc.communication_date || doc.creation) }}
</span>
</span>
{% } else { %}
Expand All @@ -44,7 +44,7 @@
{{ doc.user_full_name || frappe.user.full_name(doc.owner) }}
<span> . </span>
<span class="text-muted">
{{ comment_when(doc.communication_date) }}
{{ comment_when(doc.communication_date || doc.creation) }}
</span>
{% if (doc.subject) { %}
<div class="text-muted my-1">{{doc.subject}}</div>
Expand Down

0 comments on commit 781c0ee

Please sign in to comment.