Commit 6ad68c25 authored by Roque's avatar Roque

erp5_discussion: minor changes in UI

parent 4858f272
...@@ -53,7 +53,9 @@ ...@@ -53,7 +53,9 @@
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list/> <list>
<string>my_text_content</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -73,7 +75,6 @@ ...@@ -73,7 +75,6 @@
<value> <value>
<list> <list>
<string>my_thread_title</string> <string>my_thread_title</string>
<string>my_text_content</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -53,7 +53,9 @@ ...@@ -53,7 +53,9 @@
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list/> <list>
<string>my_text_content</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -71,9 +73,7 @@ ...@@ -71,9 +73,7 @@
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list/>
<string>my_text_content</string>
</list>
</value> </value>
</item> </item>
<item> <item>
......
...@@ -17,7 +17,12 @@ ...@@ -17,7 +17,12 @@
<script id="template-document-list" type="text/x-handlebars-template"> <script id="template-document-list" type="text/x-handlebars-template">
{{#if comments }} {{#if comments }}
{{#each 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> <time datetime="{{ date }}" title="{{ date_formatted }}">{{ date_relative }}</time>
<br/> <br/>
{{{ value.text_content }}} {{{ value.text_content }}}
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
var gadget = this; var gadget = this;
return gadget.jio_allDocs({ return gadget.jio_allDocs({
"query": gadget.state.query, "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"]] "sort_on": [["modification_date", "ascending"]]
}) })
.push(function (results) { .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