fix: new module called job

This commit is contained in:
Jannat Patel
2021-12-30 10:08:15 +05:30
parent b1b8f202c9
commit 7a5d39cc94
15 changed files with 53 additions and 27 deletions

View File

@@ -12,6 +12,7 @@
"column_break_5",
"type",
"status",
"job_opportunity_status",
"section_break_6",
"description",
"company_details_section",
@@ -38,6 +39,10 @@
"label": "Location",
"reqd": 1
},
{
"fieldname": "column_break_5",
"fieldtype": "Column Break"
},
{
"fieldname": "type",
"fieldtype": "Select",
@@ -45,10 +50,6 @@
"options": "Full Time\nPart Time\nFreelance\nContract",
"reqd": 1
},
{
"fieldname": "column_break_5",
"fieldtype": "Column Break"
},
{
"default": "Pending",
"fieldname": "status",
@@ -56,7 +57,18 @@
"in_list_view": 1,
"in_standard_filter": 1,
"label": "Status",
"options": "Pending\nApproved\nRejected\nClosed"
"options": "Pending\nApproved\nRejected"
},
{
"default": "Open",
"fieldname": "job_opportunity_status",
"fieldtype": "Select",
"label": "Job Opportunity Status",
"options": "Open\nClosed"
},
{
"fieldname": "section_break_6",
"fieldtype": "Section Break"
},
{
"fieldname": "description",
@@ -83,16 +95,6 @@
"label": "Company Website",
"reqd": 1
},
{
"fieldname": "section_break_6",
"fieldtype": "Section Break"
},
{
"fieldname": "application_link",
"fieldtype": "Data",
"label": "Application Form Link",
"reqd": 1
},
{
"fieldname": "column_break_11",
"fieldtype": "Column Break"
@@ -101,13 +103,19 @@
"fieldname": "company_logo",
"fieldtype": "Attach Image",
"label": "Company Logo"
},
{
"fieldname": "application_link",
"fieldtype": "Data",
"label": "Application Form Link",
"reqd": 1
}
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2021-12-27 19:46:50.881715",
"modified": "2021-12-30 10:04:01.049256",
"modified_by": "Administrator",
"module": "Community",
"module": "Job",
"name": "Job Opportunity",
"naming_rule": "Expression",
"owner": "Administrator",
@@ -128,15 +136,18 @@
"create": 1,
"email": 1,
"export": 1,
"if_owner": 1,
"print": 1,
"read": 1,
"report": 1,
"role": "All",
"select": 1,
"share": 1,
"write": 1
}
],
"sort_field": "modified",
"sort_order": "DESC",
"states": []
"states": [],
"title_field": "job_title"
}

View File

View File

@@ -19,9 +19,9 @@
"is_standard": 1,
"login_required": 1,
"max_attachment_size": 0,
"modified": "2021-12-27 18:18:29.558856",
"modified": "2021-12-30 10:03:52.681310",
"modified_by": "Administrator",
"module": "Community",
"module": "Job",
"name": "job-opportunity",
"owner": "Administrator",
"payment_button_label": "Buy Now",
@@ -73,6 +73,20 @@
"reqd": 1,
"show_in_filter": 0
},
{
"allow_read_on_all_link_options": 0,
"default": "Open",
"fieldname": "job_opportunity_status",
"fieldtype": "Select",
"hidden": 0,
"label": "Job Opportunity Status",
"max_length": 0,
"max_value": 0,
"options": "Open\nClosed",
"read_only": 0,
"reqd": 0,
"show_in_filter": 0
},
{
"allow_read_on_all_link_options": 0,
"fieldname": "company_name",

View File

@@ -2,4 +2,5 @@ Community
Hackathon
LMS
Conference
Event Management
Event Management
Job

View File

@@ -1,12 +1,12 @@
{% extends "templates/base.html" %}
{% from "www/hackathons/macros/card.html" import null_card %}
{% block title %}{{ 'Job Openings' }}{% endblock %}
{% block title %}{{ _('Job Openings') }}{% endblock %}
{% block content %}
<div class="common-page-style">
<div class="container">
<a class="button is-primary pull-right" href="/job-opportunity?new=1">Post a Job</a>
<div class="course-home-headings"> Job Openings </div>
<a class="button is-primary pull-right" href="/job-opportunity">{{ _("Post a Job") }}</a>
<div class="course-home-headings">{{ _("Job Openings") }}</div>
<div class="cards-parent">
{% for job in jobs %}
<div class="common-card-style course-card">

View File

@@ -1,6 +1,6 @@
{% extends "templates/base.html" %}
{% from "www/hackathons/macros/card.html" import null_card %}
{% block title %}{{ 'Job Openings' }}{% endblock %}
{% block title %}{{ job.job_title }}{% endblock %}
{% block content %}
@@ -26,7 +26,7 @@
</div>
<div class="job-description-section">
<div>{{ job.description }}</div>
<a class="button is-primary mt-5" href="{{ job.application_link }}">Apply Now</a>
<a class="button is-primary mt-5" href="{{ job.application_link }}">{{ _("Apply Now") }}</a>
</div>
</div>
</div>
@@ -36,7 +36,7 @@
{% macro BreadCrumb(job) %}
<div class="breadcrumb">
<a class="dark-links" href="/jobs">Job Openings</a>
<a class="dark-links" href="/jobs">{{ _("Job Openings") }}</a>
<img class="ml-1 mr-1" src="/assets/school/icons/chevron-right.svg">
<span class="muted-text">{{ job.job_title }}</span>
</div>