diff --git a/hrms/hr/doctype/job_opening/job_opening.json b/hrms/hr/doctype/job_opening/job_opening.json index 72d42deefa..0c7eb23bf8 100644 --- a/hrms/hr/doctype/job_opening/job_opening.json +++ b/hrms/hr/doctype/job_opening/job_opening.json @@ -1,5 +1,6 @@ { "actions": [], + "allow_guest_to_view": 1, "allow_import": 1, "autoname": "field:route", "creation": "2013-01-15 16:13:36", @@ -183,10 +184,12 @@ "read_only": 1 } ], + "has_web_view": 1, "icon": "fa fa-bookmark", "idx": 1, + "is_published_field": "publish", "links": [], - "modified": "2023-09-14 16:50:39.316079", + "modified": "2025-02-11 22:41:14.873299", "modified_by": "Administrator", "module": "HR", "name": "Job Opening", @@ -203,13 +206,9 @@ "role": "HR User", "share": 1, "write": 1 - }, - { - "read": 1, - "role": "Guest" } ], "sort_field": "modified", "sort_order": "ASC", "states": [] -} \ No newline at end of file +} diff --git a/hrms/hr/doctype/job_opening/templates/job_opening.html b/hrms/hr/doctype/job_opening/templates/job_opening.html new file mode 100644 index 0000000000..63803cecaf --- /dev/null +++ b/hrms/hr/doctype/job_opening/templates/job_opening.html @@ -0,0 +1,7 @@ +{% extends "templates/web.html" %} + +{% block page_content %} +

{{ title |e }}

+{% endblock %} + + \ No newline at end of file diff --git a/hrms/hr/doctype/job_opening/templates/job_opening_row.html b/hrms/hr/doctype/job_opening/templates/job_opening_row.html index cc8523ed0a..88db3f7c0f 100644 --- a/hrms/hr/doctype/job_opening/templates/job_opening_row.html +++ b/hrms/hr/doctype/job_opening/templates/job_opening_row.html @@ -1,18 +1,4 @@ -
-

{{ doc.job_title }}

-

{{ doc.description }}

- {%- if doc.publish_salary_range -%} -

{{_("Salary range per month")}}: {{ frappe.format_value(frappe.utils.flt(doc.lower_range), currency=doc.currency) }} - {{ frappe.format_value(frappe.utils.flt(doc.upper_range), currency=doc.currency) }}

- {% endif %} -
- {%- if doc.job_application_route -%} - - {{ _("Apply Now") }} - {% else %} - - {{ _("Apply Now") }} - {% endif %} -
+
+ {{ (doc.title or doc.name) |e }}
+