Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,12 @@
{% set comment_value = elements['#comment'].os2loop_question_answer.value is defined ? elements['#comment'].os2loop_question_answer.value : elements['#comment'].os2loop_post_comment.value %}
{% set node_value_truncated = node_value|length > 200 ? true : false %}
{% set comment_value_truncated = comment_value|length > 200 ? true : false %}
<div class="list-group">
<div class="list-group">
<article class="list-group-item mb-2 bg-light border-top">
<div class="small">
<span>{{ 'Created'|t }}</span>: {{ created }}
</div>
<div>
{% if node_value_truncated %}
{{ node_value|truncate(200, true)|raw }}
<span>...</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<article class="row">
<div class="col-auto icon-list {{ node.bundle }}"></div>
<div class="col">
<div class="small">{{ node.type.entity.label }}</div>
<div class="small">{{ node.type.entity.label }} - {{ node.createdtime|format_date('medium') }}</div>
<div class="d-flex">
<h3 class="h6"><a href="{{ url }}">{{ label }}</a></h3>
</div>
Expand Down