Files
jobs/web/templates/job.html
georg.sinn-schirwitz f899439f6a ensuring abs_path
2025-08-30 13:00:17 +02:00

36 lines
956 B
HTML

{% extends "base.html" %} {% block title %}Job Details{% endblock %} {% block
styles %}{% endblock %} {% block content %}
<div id="job-details">
<p><strong>ID:</strong> {{ job.id }}</p>
<p>
<strong>Title:</strong> {{ job.title }} | <strong>Company:</strong> {{
job.company }} | <strong>Location:</strong> {{ job.location }}
</p>
<p>
<strong>Salary:</strong> {{ job.salary }} | <strong>Posted on:</strong> {{
job.posted_date }}
</p>
<h2>Job Description</h2>
<hr />
<p class="job-description">{{ job.description|safe }}</p>
<hr />
<p>
<strong>Original URL:</strong>
</p>
<p>
<a href="{{ job.url }}" target="_blank" class="job-title"
>{{ job.title }}</a
>
</p>
{% if job.file_path_abs or job.file_path %}
<p>
<strong>Cached copy:</strong>
<a href="{{ url_for('serve_cached', job_id=job.id) }}" target="_blank"
>View cached copy</a
>
</p>
{% endif %}
</div>
{% endblock %}