Adding comments per work, configuration $_configuration['work_user_comments'] has to be set as well as the new tables see chash. Otherwise any change will appear in the work tool.
parent
262727c68c
commit
c6232154d2
@ -1,7 +1,30 @@ |
|||||||
<div class="page-header"> |
<div class="page-header"> |
||||||
<h2>{{ work.title }}</h2> |
<h2>{{ work.title }}</h2> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<p> |
<p> |
||||||
{{ work.description }} |
{{ work.description }} |
||||||
</p> |
</p> |
||||||
|
{# "UpdatedBy"|get_lang|format(comment.username) #} |
||||||
|
|
||||||
|
{% if work_comment_enabled %} |
||||||
|
<h4> |
||||||
|
{{ 'Comments' | get_lang }} |
||||||
|
</h4> |
||||||
|
<hr> |
||||||
|
<ul> |
||||||
|
{% for comment in comments %} |
||||||
|
<li> |
||||||
|
<div class="page-header"> |
||||||
|
<a href="{{ _p.web_code }}"><img height="24" src="{{ comment.picture }}"/> {{ comment.username }} </a>- {{ comment.sent_at | api_get_local_time }} |
||||||
|
</div> |
||||||
|
|
||||||
|
<p> |
||||||
|
{{ comment.comment }} |
||||||
|
</p> |
||||||
|
</li> |
||||||
|
{% endfor %} |
||||||
|
</ul> |
||||||
|
<br /> |
||||||
|
<hr> |
||||||
|
{{ form }} |
||||||
|
{% endif %} |
||||||
|
Loading…
Reference in new issue