Преглед на файлове

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

version-14
Rushabh Mehta преди 6 години
committed by GitHub
родител
ревизия
7362a0151f
No known key found for this signature in database GPG ключ 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;
}


Зареждане…
Отказ
Запис