Commit 6ad68c25 authored by Roque's avatar Roque

erp5_discussion: minor changes in UI

parent 4858f272
......@@ -53,7 +53,9 @@
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
<list>
<string>my_text_content</string>
</list>
</value>
</item>
<item>
......@@ -73,7 +75,6 @@
<value>
<list>
<string>my_thread_title</string>
<string>my_text_content</string>
</list>
</value>
</item>
......
......@@ -53,7 +53,9 @@
<item>
<key> <string>bottom</string> </key>
<value>
<list/>
<list>
<string>my_text_content</string>
</list>
</value>
</item>
<item>
......@@ -71,9 +73,7 @@
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>my_text_content</string>
</list>
<list/>
</value>
</item>
<item>
......
......@@ -17,7 +17,12 @@
<script id="template-document-list" type="text/x-handlebars-template">
{{#if comments }}
{{#each comments }}
<li>By <strong>{{ user }}</strong> -
<li>By <strong>{{#if user }}
{{ user }}
{{else }}
Manager
{{/if }}
</strong> -
<time datetime="{{ date }}" title="{{ date_formatted }}">{{ date_relative }}</time>
<br/>
{{{ value.text_content }}}
......
......@@ -35,7 +35,7 @@
var gadget = this;
return gadget.jio_allDocs({
"query": gadget.state.query,
"select_list": ["text_content", "modification_date", "source_title", "follow_up_title"],
"select_list": ["text_content", "modification_date", "source_title"],
"sort_on": [["modification_date", "ascending"]]
})
.push(function (results) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment