[minor] [fixes] ui and related
This commit is contained in:
parent
e60b295828
commit
83eb4b2e37
2 changed files with 7 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
"creation": "2013-01-29 10:47:14",
|
||||
"docstatus": 0,
|
||||
"modified": "2013-11-02 14:05:24",
|
||||
"modified": "2013-11-20 11:57:55",
|
||||
"modified_by": "Administrator",
|
||||
"owner": "Administrator"
|
||||
},
|
||||
|
|
@ -65,6 +65,7 @@
|
|||
"doctype": "DocField",
|
||||
"fieldname": "subject",
|
||||
"fieldtype": "Data",
|
||||
"in_list_view": 1,
|
||||
"label": "Subject",
|
||||
"reqd": 1
|
||||
},
|
||||
|
|
@ -131,6 +132,7 @@
|
|||
"doctype": "DocField",
|
||||
"fieldname": "communication_medium",
|
||||
"fieldtype": "Select",
|
||||
"in_list_view": 1,
|
||||
"label": "Communication Medium",
|
||||
"options": "\nChat\nPhone\nEmail\nSMS\nVisit\nOther"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -138,12 +138,10 @@ wn.views.ListView = Class.extend({
|
|||
this.id_list.push(data.name);
|
||||
|
||||
|
||||
var body = $('<div class="doclist-row" style="display: table; width: 100%; table-layout: fixed">\
|
||||
<div class="list-row-id-area" style="width: 200px; display: table-cell; \
|
||||
vertical-align: middle; white-space: nowrap;\
|
||||
var body = $('<div class="doclist-row row">\
|
||||
<div class="list-row-id-area col-sm-3" style="white-space: nowrap;\
|
||||
text-overflow: ellipsis; max-height: 30px"></div>\
|
||||
<div class="list-row-content-area row" style="display: table-cell; \
|
||||
vertical-align: middle;"></div>\
|
||||
<div class="list-row-content-area col-sm-9"></div>\
|
||||
</div>').appendTo($(row).css({"position":"relative"})),
|
||||
colspans = 0,
|
||||
me = this;
|
||||
|
|
@ -219,7 +217,7 @@ wn.views.ListView = Class.extend({
|
|||
|
||||
var $avatar = $(wn.avatar(data.modified_by, false, wn._("Modified by")+": "
|
||||
+ wn.user_info(data.modified_by).fullname))
|
||||
.appendTo($(parent).css({"margin-top": "-5px"}))
|
||||
.appendTo(parent)
|
||||
.css({"max-width": "100%"})
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue