small fix

This commit is contained in:
Faheed 2025-10-09 12:54:23 +03:00
parent 53318a998c
commit dc007a33c8
5 changed files with 5 additions and 3 deletions

Binary file not shown.

View File

@ -130,7 +130,7 @@ class JobPosting(Base):
verbose_name_plural = "Job Postings"
def __str__(self):
return f"{self.title} - {self.get_status_display()}"
return f"{self.title} - {self.internal_job_id}-{self.get_status_display()}"
def get_source(self):
return self.source.name if self.source else 'System'

View File

@ -249,7 +249,7 @@
{# HEADER SECTION #}
<div class="job-header-card d-flex justify-content-between align-items-center flex-wrap">
<h2>{{ job.title }}</h2>
<h2>{{job}}</h2>
<span class="badge bg-{{ job.status|lower|striptags|yesno:'success,warning,secondary,danger' }} status-badge">
{{ job.get_status_display }}
</span>

View File

@ -245,7 +245,9 @@
</div>
</div>
</div>
</div> <div class="mobile-fixed-apply-bar d-lg-none">
</div>
{{job.form_template}}
<div class="mobile-fixed-apply-bar d-lg-none">
{% if job.form_template %}
<a href="{% url 'form_wizard' job.form_template.pk %}" class="btn btn-main-action btn-lg w-100">
<i class="fas fa-paper-plane me-2"></i> Apply for this Position