1+ {% autoescape false %}
12{% if item .isHighlighted %}
23 <span class =" label label-success" >
34 {{ ' ActionIcon::STAR' | mdi_icon(22 ) }}
4- {{ ' Highlighted' | get_lang }}
5+ {{ ' Highlighted' | trans }}
56 </span >
67{% endif %}
78
1213 <ul class =" fa-ul list-inline" >
1314 <li >
1415 <span class =" fa-li fa fa-user" aria-hidden =" true" ></span >
15- {{ item .user . completeName }}
16+ {{ item .creator . fullName }}
1617 </li >
1718 <li >
1819 <span class =" fa-li fa fa-clock-o" aria-hidden =" true" ></span >
19- {{ ' Creation date' | get_lang ~ ' : ' }}
20- {{ item .creationDate | date_to_time_ago }}
20+ {{ ' Creation date' | trans ~ ' : ' }}
21+ {{ item .resourceNode . createdAt | date_to_time_ago }}
2122 </li >
2223
2324 {% if last_edit %}
2425 <li >
2526 <span class =" fa-li fa fa-clock-o" aria-hidden =" true" ></span >
26- {{ ' Updated on %s by %s' | get_lang | format (last_edit .date |date_to_time_ago, last_edit .user ) }}
27+ {{ ' Updated on %s by %s' | trans | format (last_edit .date |date_to_time_ago, last_edit .user ) }}
2728 </li >
28- {% elseif item .creationDate != item .updateDate %}
29+ {% elseif item .resourceNode . createdAt != item .resourceNode . updatedAte %}
2930 <li >
3031 <span class =" fa-li fa fa fa-clock-o" aria-hidden =" true" ></span >
31- {{ ' Updated on %s' | get_lang | format (item .updateDate |date_to_time_ago) }}
32+ {{ ' Updated on %s' | trans | format (item . resourceNode .updateDate |date_to_time_ago) }}
3233 </li >
3334 {% endif %}
3435
35- {% if _c is empty %}
36- {% if item . session %}
36+ {% if course is empty %}
37+ {% if session %}
3738 <li >
3839 <span class =" fa-li fa fa-book" aria-hidden =" true" ></span >
39- {{ ' Course' | get_lang ~ ' : ' ~ item . session .name ~ ' (' ~ item . course .title ~ ' )' }}
40+ {{ ' Course' | trans ~ ' : ' ~ session .name ~ ' (' ~ course .title ~ ' )' }}
4041 </li >
41- {% elseif not item . session and item . course %}
42+ {% elseif not session and course %}
4243 <li >
4344 <span class =" fa-li fa fa-book" aria-hidden =" true" ></span >
44- {{ ' Course' | get_lang ~ ' : ' ~ item . course .title }}
45+ {{ ' Course' | trans ~ ' : ' ~ course .title }}
4546 </li >
4647 {% endif %}
4748 {% endif %}
5960 <section id =" portfolio-item-comments" >
6061 <h1 class =" h3" >
6162 {{ ' ActionIcon::COMMENT' | mdi_icon(22 ) }}
62- {{ ' XComments ' | get_lang | format (count_comments ) }}
63+ {{ ' %s comments ' | trans | format (count_comments ) }}
6364 </h1 >
6465
6566 {{ comments }}
9596 });
9697 });
9798</script >
99+ {% endautoescape %}
0 commit comments