From d4f1621da9f23039774c1bc42ac54116b03f782e Mon Sep 17 00:00:00 2001 From: QA2A <150867722+QA2A@users.noreply.github.com> Date: Wed, 4 Sep 2024 17:38:03 -0400 Subject: [PATCH] refactor: Remove salary and role columns from job_detail_include.html The salary and role columns have been removed from the job_detail_include.html template. This change simplifies the table layout and removes unnecessary information, improving the overall user experience. --- .../partials/job_detail_include.html | 57 +++---------------- website/views.py | 9 ++- 2 files changed, 14 insertions(+), 52 deletions(-) diff --git a/website/templates/partials/job_detail_include.html b/website/templates/partials/job_detail_include.html index 09eb43e..5a60f0e 100644 --- a/website/templates/partials/job_detail_include.html +++ b/website/templates/partials/job_detail_include.html @@ -12,9 +12,6 @@
Company | -Role | -Salary | Applied | Last Email | Days | @@ -23,49 +20,11 @@actions | link | g | +ping | |
---|---|---|---|---|---|---|---|---|---|---|
- {% if application.job.company.website %} - - {% endif %} - {{ application.job.company.name }} - | -- {% if application.job.role %} - {{ application.job.role|truncatechars:50 }} - {% else %} - - {% endif %} - | -- {% if application.job.salary_min %} - ${{ application.job.salary_min|floatformat:0|intcomma }} - ${{ application.job.salary_max|floatformat:0|intcomma }} - {% endif %} - | {{ application.date_applied|date:"m/d" }} | {{ application.date_of_last_email|date:"m/d" }} | {{ application.days_since_last_email }} | @@ -88,14 +47,12 @@