mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-15 16:28:20 +00:00
fix: only show user and date if available
(cherry picked from commit 895aede590)
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
{% for(var i=0, l=notes.length; i<l; i++) { %}
|
{% for(var i=0, l=notes.length; i<l; i++) { %}
|
||||||
<div class="comment-content p-3 row" name="{{ notes[i].name }}">
|
<div class="comment-content p-3 row" name="{{ notes[i].name }}">
|
||||||
<div class="mb-2 head col-xs-3">
|
<div class="mb-2 head col-xs-3">
|
||||||
|
{% if (notes[i].added_by && notes[i].added_on) %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-2">
|
<div class="col-xs-2">
|
||||||
{{ frappe.avatar(notes[i].added_by) }}
|
{{ frappe.avatar(notes[i].added_by) }}
|
||||||
@@ -25,6 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% } %}
|
||||||
</div>
|
</div>
|
||||||
<div class="content col-xs-8">
|
<div class="content col-xs-8">
|
||||||
{{ notes[i].note }}
|
{{ notes[i].note }}
|
||||||
|
|||||||
Reference in New Issue
Block a user