| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/erp/base/templates/shift_request/htmx/ |
Upload File : |
{% load basefilters %}
{% load i18n static %}
{% if no_comments %}
<div class="oh-timeoff-modal__profile-content">
<div class="">
<div>
<span class="oh-timeoff-title fw-bold" style="display: block;">{% trans "There is no comments to show." %}</span>
<img style="display: block;width: 100px;margin: 20px auto ;" src="{% static "/images/ui/comment.png" %}" class="">
</div>
</div>
</div>
{% else %}
{% for comment in comments %}
<div class="oh-timeoff-modal__profile-content">
<div class="oh-profile ms-4">
<div>
<span class="oh-timeoff-modal__stat-title fw-bold">{% trans "Comment" %}
<a href='{% url "shift-request-delete-comment" comment.id %}' title='Delete Comment'>
<ion-icon name="close-circle-outline" class="text-danger ms-3 mt-1" aria-label="close outline"></ion-icon></a>
</span>
<div>
<span class="oh-timeoff-title fw-bold">{{comment.comment}}</span>
</div>
</div>
</div>
</div>
<div class="oh-modal__dialog-body">
<div class="oh-timeoff-modal__stats-container">
<div class="oh-timeoff-modal__stat">
<span class="oh-timeoff-modal__stat-title fw-bold">{% trans "By" %}</span>
<a style="text-decoration:none;"
href ="{% url 'employee-view-individual' comment.employee_id.id %}">
<span class="oh-timeoff-modal__stat-count">{{ comment.employee_id }}</span></a>
</div>
<div class="oh-timeoff-modal__stat" style="margin-left: 20px;">
<span class="oh-timeoff-modal__stat-title fw-bold">{% trans "Date & Time" %}</span>
<span class="oh-timeoff-modal__stat-count">
{% trans "on" %}  <span class="dateformat_changer">{{ comment.created_at|date:"F j, Y" }}</span>  
{% trans "at" %}   <span class="timeformat_changer">{{ comment.created_at|time:"g:i A" }}</span>
</span>
</div>
</div>
<hr>
</div>
{% endfor %}
{% endif %}