Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2119 Lượt xem

The request: 
show full date/time in thread messages rather than the "4 days ago" kind of thing

My try: 



t-att-class="{ 'o-message-selected': isSelected }"
t-att-title="datetime">
- messageView.message.date"/>



	
			

... but it fails as the ".message" is not recognized.


I wonder if the problem is the way the template is being loaded:

'qweb': ['static/src/xml/thread.xml',],

If I use the 'assets':{} declaration in the manifest rather than the 'qweb' the file won't even load.


I'm failing to understand exactly how/what to do.


Has anyone done this kind of thing before?



I'm using v14

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 9 23
7011
0
thg 4 23
2369
2
thg 12 22
2630
0
thg 9 22
3201
1
thg 5 22
2779