diff --git a/frontend/src/pages/JobDetail.vue b/frontend/src/pages/JobDetail.vue index 777acba6..8ca28ec3 100644 --- a/frontend/src/pages/JobDetail.vue +++ b/frontend/src/pages/JobDetail.vue @@ -5,31 +5,81 @@ > -
- +
-
+
+
+
+ +
+
+ {{ job.data.job_title }} +
+
+ {{ __('posted by') }} + {{ job.data.company_name }} + {{ __('on') }} + {{ + dayjs(job.data.creation).format('DD MMM YYYY') + }} +
+
+ + + + +
+
+
+

+
+
diff --git a/frontend/src/pages/Jobs.vue b/frontend/src/pages/Jobs.vue index 87598b95..0e2daddb 100644 --- a/frontend/src/pages/Jobs.vue +++ b/frontend/src/pages/Jobs.vue @@ -24,6 +24,7 @@ name: 'JobDetail', params: { job: job.name }, }" + :key="job.name" > diff --git a/lms/lms/api.py b/lms/lms/api.py index 431ea4c6..719ec43c 100644 --- a/lms/lms/api.py +++ b/lms/lms/api.py @@ -225,7 +225,16 @@ def get_job_details(job): return frappe.db.get_value( "Job Opportunity", job, - ["job_title", "location", "type", "company_name", "company_logo", "name", "creation"], + [ + "job_title", + "location", + "type", + "company_name", + "company_logo", + "name", + "creation", + "description", + ], as_dict=1, )