From 097d5413910b718603bfac4ba6b10b33ceb3deeb Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 24 Apr 2025 14:20:51 +0530 Subject: [PATCH 1/3] feat: redesigned job list --- frontend/src/components/JobCard.vue | 56 ++++++++++++++----- frontend/src/pages/JobDetail.vue | 22 ++++---- .../pages/{JobCreation.vue => JobForm.vue} | 34 +++++------ frontend/src/pages/Jobs.vue | 25 +++++++-- frontend/src/router.js | 4 +- .../job_opportunity/job_opportunity.json | 37 +++++++----- lms/lms/api.py | 5 ++ 7 files changed, 121 insertions(+), 62 deletions(-) rename frontend/src/pages/{JobCreation.vue => JobForm.vue} (91%) diff --git a/frontend/src/components/JobCard.vue b/frontend/src/components/JobCard.vue index 64cd0e01..b84186d4 100644 --- a/frontend/src/components/JobCard.vue +++ b/frontend/src/components/JobCard.vue @@ -1,22 +1,35 @@ + diff --git a/frontend/src/pages/JobDetail.vue b/frontend/src/pages/JobDetail.vue index 6c8fb519..e3247113 100644 --- a/frontend/src/pages/JobDetail.vue +++ b/frontend/src/pages/JobDetail.vue @@ -20,7 +20,7 @@ @@ -62,7 +62,7 @@
@@ -75,7 +75,7 @@ class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-x-10 gap-y-5 md:gap-y-5" >
- +
{{ __('Organisation') }} @@ -86,9 +86,9 @@
- +
- + {{ __('Location') }} @@ -97,9 +97,9 @@
- +
- + {{ __('Category') }} @@ -108,9 +108,9 @@
- +
- + {{ __('Posted on') }} @@ -122,9 +122,9 @@ v-if="applicationCount.data" class="flex items-center space-x-4" > - +
- + {{ __('Applications Received') }} diff --git a/frontend/src/pages/JobCreation.vue b/frontend/src/pages/JobForm.vue similarity index 91% rename from frontend/src/pages/JobCreation.vue rename to frontend/src/pages/JobForm.vue index ba35148f..e4f5468f 100644 --- a/frontend/src/pages/JobCreation.vue +++ b/frontend/src/pages/JobForm.vue @@ -13,7 +13,7 @@
{{ __('Job Details') }}
-
+
-
- - -
-
+
{{ __('Company Details') }}
-
+
+
+ + +
@@ -317,7 +317,7 @@ const breadcrumbs = computed(() => { }, { label: props.jobName == 'new' ? 'New Job' : 'Edit Job', - route: { name: 'JobCreation' }, + route: { name: 'JobForm' }, }, ] return crumbs diff --git a/frontend/src/pages/Jobs.vue b/frontend/src/pages/Jobs.vue index 044a7191..b1d0d13d 100644 --- a/frontend/src/pages/Jobs.vue +++ b/frontend/src/pages/Jobs.vue @@ -10,7 +10,7 @@ -
- {{ __('Find the perfect job for you') }} +
+ {{ __('{0} Open Jobs').format(jobCount) }}
-
+
Date: Thu, 24 Apr 2025 18:22:00 +0530 Subject: [PATCH 2/3] feat: country filter in job list --- frontend/src/components/BatchCard.vue | 2 +- frontend/src/components/JobCard.vue | 16 +-- frontend/src/pages/JobDetail.vue | 17 +++- frontend/src/pages/Jobs.vue | 99 +++++++++++-------- .../job_opportunity/job_opportunity.json | 14 ++- lms/lms/api.py | 1 + lms/patches.txt | 3 +- .../v2_0/update_job_city_and_country.py | 28 ++++++ 8 files changed, 122 insertions(+), 58 deletions(-) create mode 100644 lms/patches/v2_0/update_job_city_and_country.py diff --git a/frontend/src/components/BatchCard.vue b/frontend/src/components/BatchCard.vue index fe9d7b01..46b3095b 100644 --- a/frontend/src/components/BatchCard.vue +++ b/frontend/src/components/BatchCard.vue @@ -1,6 +1,6 @@