You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.9 KiB
HTML
41 lines
1.9 KiB
HTML
{% for latest in latest_statuses_time_ago %}
|
|
<div class="w-full flex flex-col py-3">
|
|
<div class="w-full flex flex-col justify-center items-start gap-2">
|
|
<div class="w-full flex justify-between items-center gap-2">
|
|
<div class="flex justify-start gap-2">
|
|
<div class="w-[45px] h-[45px] rounded-full">
|
|
<img src='{{latest.status.staff.image.url}}' alt="user profile"
|
|
class="w-full h-full object-cover rounded-full">
|
|
</div>
|
|
<div class="flex flex-col">
|
|
<h1 class="text-sm text-slate-700 font-semibold">{{latest.status.staff.user.first_name}}
|
|
{{latest.status.staff.user.last_name}}</h1>
|
|
{% if latest.time_ago == '0min ago' %}
|
|
<p class="text-sm text-gray-500">Just Now</p>
|
|
{%else %}
|
|
<p class="text-sm text-gray-500">{{ latest.time_ago}}</p>
|
|
{%endif%}
|
|
</div>
|
|
</div>
|
|
<div class="cursor-pointer">
|
|
<i class="fa fa-thumbs-up" style="color: rgb(184, 184, 184); font-size: 15px;"></i>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Status -->
|
|
<div class="w-full">
|
|
<p class="text-sm text-gray-500">{{latest.status.text}}</p>
|
|
</div>
|
|
|
|
<!-- Add comment section -->
|
|
<div class="w-full h-fit flex justify-between items-center border border-gray-200 mt-2 rounded-md">
|
|
<input type="text" placeholder="Add Comment..."
|
|
class="outline-none text-gray-500 p-2 w-[100%] text-sm h-[40px] rounded-tl-md rounded-bl-md">
|
|
<button class="w-fit px-3 py-2 bg-slate-800 rounded-tr-md rounded-br-md">
|
|
<i class="fa fa-send" style="color: white; font-size: 15px;"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endfor %} |