Skip to content

Commit

Permalink
Merge pull request #25315 from ankush/comment_timeline_ts
Browse files Browse the repository at this point in the history
fix: missing timeline timestamp for comments
  • Loading branch information
ankush committed Mar 11, 2024
2 parents ad53060 + c89eace commit bf449e8
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 bf449e8

Please sign in to comment.