瀏覽代碼

ux(timeline): different background for comment (#6021)

version-14
Rushabh Mehta 6 年之前
committed by GitHub
父節點
當前提交
7362a0151f
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 2 個文件被更改,包括 7 次插入1 次删除
  1. +1
    -1
      frappe/public/js/frappe/form/footer/timeline_item.html
  2. +6
    -0
      frappe/public/less/form.less

+ 1
- 1
frappe/public/js/frappe/form/footer/timeline_item.html 查看文件

@@ -1,4 +1,4 @@
<div class="media timeline-item {% if (data.user_content) { %} user-content {% } else { %} notification-content {% } %}" data-doctype="{{ data.doctype }}" data-name="{%= data.name %}">
<div class="media timeline-item {% if (data.user_content) { %} user-content {% } else { %} notification-content {% } %}" data-doctype="{{ data.doctype }}" data-name="{%= data.name %}" data-communication-type = "{{ data.communication_type }}">
{% if (data.user_content) { %}
<span class="pull-left avatar avatar-medium hidden-xs" style="margin-top: 1px">
{% if(data.user_info.image) { %}


+ 6
- 0
frappe/public/less/form.less 查看文件

@@ -352,6 +352,12 @@ h6.uppercase, .h6.uppercase {
}
}

.timeline-item[data-communication-type="Comment"] {
.reply {
background-color: @light-yellow;
}
}

.timeline-items {
position: relative;
}


Loading…
取消
儲存