Skip to content

Commit fd2c6da

Browse files
committed
Merge branch 'master' of github.com:chamilo/chamilo-lms
2 parents 7960719 + 13e2580 commit fd2c6da

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/CoreBundle/Resources/views/Portfolio/comment_context.html.twig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<div class="row">
2-
<div class="col-sm-10 col-sm-offset-1">
1+
<div class="grid md:grid-cols-12 gap-4">
2+
<div class="sm:col-span-10 sm:col-start-2">
33
<h4>{{ 'ContextForCommentToBeGrade'|get_lang }}</h4>
44

55
<strong>{{ 'PortfolioItemTitleXName'|get_lang|format(item.title) }}</strong>
66

77
<p>{{ item.excerpt }}</p>
88

9-
<div class="row">
9+
<div class="grid md:grid-cols-12 gap-4">
1010
{% for node in comments_path %}
1111
{% if loop.index != comments_path|length %}
12-
<div class="col-sm-{{ 12 - node.lvl }} col-sm-offset-{{ node.lvl }}">
13-
<strong>{{ 'PortfolioCommentFromXUser'|get_lang|format(node.author.completeName) }}</strong>
12+
<div class="sm:col-span-{{ 12 - node.lvl }} sm:col-start-{{ node.lvl + 1 }}">
13+
<strong>{{ 'Comment by %s'|get_lang|format(node.creator.fullName) }}</strong>
1414
{{ node.content }}
1515
</div>
1616
{% endif %}

src/CoreBundle/Resources/views/Portfolio/list.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<article>
7272
<footer class="fa-lg">
7373
<p>
74-
{{ 'Comment by %s in %s'|get_lang|format(comment.author.completeName, commentItem.title) }}
74+
{{ 'Comment by %s in %s'|get_lang|format(comment.resourceNode.creator.fullName, commentItem.title) }}
7575
</p>
7676
<p class="text-muted">
7777
<span class="fa fa-clock-o fa-fw" aria-hidden="true"></span>

0 commit comments

Comments
 (0)