[UPDT] RECRUITMENT: Updated recruitment candidate note model
This commit is contained in:
@@ -720,7 +720,7 @@ class StageNote(HorillaModel):
|
||||
"""
|
||||
|
||||
candidate_id = models.ForeignKey(Candidate, on_delete=models.CASCADE)
|
||||
description = models.TextField(verbose_name=_("Description"), max_length=255)
|
||||
description = models.TextField(verbose_name=_("Description")) # 905
|
||||
stage_id = models.ForeignKey(Stage, on_delete=models.CASCADE)
|
||||
stage_files = models.ManyToManyField(StageFiles, blank=True)
|
||||
updated_by = models.ForeignKey(
|
||||
|
||||
@@ -162,13 +162,16 @@
|
||||
</form>
|
||||
</div>
|
||||
<span class="oh-activity-sidebar__a">
|
||||
{% trans 'by' %}
|
||||
<img
|
||||
src="{{ note.note_by.get_avatar }}"
|
||||
style="width: 1.5em; border-radius: 100%"
|
||||
/>
|
||||
{{ note.updated_user }} @ {{note.stage_id }}
|
||||
{% trans "stage" %}
|
||||
{% trans "by" %}
|
||||
<img src="https://ui-avatars.com/api/?name={{note.updated_user.get_full_name}}&background=random"
|
||||
style="width: 1.5em; border-radius: 100%" alt="User" />
|
||||
{{note.updated_user}}
|
||||
</span>
|
||||
<span class="oh-activity-sidebar__a">
|
||||
{% trans "at" %}  
|
||||
<span class="dateformat_changer">{{ note.created_at|date:"Y-m-d" }}</span>
|
||||
 
|
||||
<span class="timeformat_changer">{{ note.created_at|time:"H:i" }}</span>
|
||||
</span>
|
||||
<div style="width: 50%">
|
||||
<div id="enlargeImageContainer" class="enlargeImageContainer"></div>
|
||||
|
||||
Reference in New Issue
Block a user