Chat assistant
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
onclick="window.location.href='/company/manage/post/{{ post.id }}?employee_id={{ employee_id }}'">
|
||||
<div class="flex items-start justify-between gap-2 mb-2">
|
||||
<h4 class="post-card-title">{{ post.topic_title or 'Untitled' }}</h4>
|
||||
{% if post.critic_feedback and post.critic_feedback | length > 0 %}
|
||||
{% set score = post.critic_feedback[-1].overall_score %}
|
||||
{% if post.critic_feedback and post.critic_feedback | length > 0 and post.critic_feedback[-1].get('overall_score') is not none %}
|
||||
{% set score = post.critic_feedback[-1].get('overall_score', 0) %}
|
||||
<span class="score-badge flex-shrink-0 {{ 'score-high' if score >= 85 else 'score-medium' if score >= 70 else 'score-low' }}">
|
||||
{{ score }}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user