diff --git a/hasjob/static/img/envelope.png b/hasjob/static/img/envelope.png new file mode 100644 index 000000000..00e95948e Binary files /dev/null and b/hasjob/static/img/envelope.png differ diff --git a/hasjob/templates/apply_email.html.jinja2 b/hasjob/templates/apply_email.html.jinja2 index 2fc5f60f3..6aa2d1ac8 100644 --- a/hasjob/templates/apply_email.html.jinja2 +++ b/hasjob/templates/apply_email.html.jinja2 @@ -1,5 +1,5 @@ -{% extends "inc/email_layout_lite.html.jinja2" %} -{% block content %} +{% extends "inc/email_layout.html.jinja2" %} +{% block innercontent %}
@@ -11,19 +11,25 @@
-

- {{ job_application.fullname }} has applied for {{ post.headline }}: +

{{ job_application.fullname }} has applied for {{ post.headline }}:

-
{{ job_application.message|safe }} -
-

- Respond to candidate - or - Report this -

Note: The message above is exactly as the candidate submitted it. We do not accept attachments or reformat documents.

+ + + + + + +
+ Respond to candidate +
+
+

+ {% if g.board and g.board.not_root %}[{{ g.board.title }}][board] is powered by Hasjob. {% endif -%} + Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service. +

{% endblock %} diff --git a/hasjob/templates/confirm_email.html.jinja2 b/hasjob/templates/confirm_email.html.jinja2 index e8c7c7692..e799f004f 100644 --- a/hasjob/templates/confirm_email.html.jinja2 +++ b/hasjob/templates/confirm_email.html.jinja2 @@ -1,5 +1,5 @@ -{% extends "inc/email_layout_lite.html.jinja2" %} -{% block content %} +{% extends "inc/email_layout.html.jinja2" %} +{% block innercontent %}
@@ -14,16 +14,18 @@

Hello,

-

This is a confirmation email for the job you listed at {% if g.board -%} {{ g.board.title }} {%- else -%} {{ config['SITE_TITLE'] }} {%- endif %}: - {{ post.headline|e }}

-

Confirm job post

-

Save this email for the next 30 days while the post is active. Use these - links if you need to edit the post, or if the position has been filled - and you wish to withdraw it:

- +

This is a confirmation email for the job you listed at {% if g.board -%} {{ g.board.title }} {%- else -%} {{ config['SITE_TITLE'] }} {%- endif %}: {{ post.headline|e }}

+ + + + + + +
+ Confirm job post +
+

Once you confirm the job post, all the candidate applications go to "{{ post.email }}". If you wish to send the applications to different email, edit the job post

+

{% if g.board and g.board.not_root %}[{{ g.board.title }}][board] is powered by Hasjob. {% endif -%} Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service. diff --git a/hasjob/templates/connect_email.html.jinja2 b/hasjob/templates/connect_email.html.jinja2 index 5fe2a3b33..d7d3704fb 100644 --- a/hasjob/templates/connect_email.html.jinja2 +++ b/hasjob/templates/connect_email.html.jinja2 @@ -1,6 +1,5 @@ -{% extends "inc/email_layout_lite.html.jinja2" %} - -{% block content -%} +{% extends "inc/email_layout.html.jinja2" %} +{% block innercontent %}

{{ job_application.fullname }}, meet {{ post.fullname or post.company_name }} regarding your application for {{ post.headline }}. You can reply to this email to initiate a conversation.

diff --git a/hasjob/templates/inc/email_layout.html.jinja2 b/hasjob/templates/inc/email_layout.html.jinja2 index d56431eb0..939f3d214 100644 --- a/hasjob/templates/inc/email_layout.html.jinja2 +++ b/hasjob/templates/inc/email_layout.html.jinja2 @@ -1,384 +1,129 @@ -{# Adapted from https://github.com/mailchimp/email-blueprints/blob/master/responsive-templates/base_boxed_basic_query.html -#} - - - - - {% block title %}{{ title }}{% endblock %} - - - -
- - - - -
- - - - - - - - - - - - - - -
- - - - - - -
- {%- block preview %}{% endblock -%} - - {%- block archive %}{% endblock -%} -
- -
- - - - - -
-

{{ config['SITE_TITLE'] }}

-
- -
- - - - - -
- {%- block content %} - {%- endblock %} -
- -
- - - - - - - - -
- Hasjob is a service of HasGeek. -
- {% block footer %}{% endblock %} -
- -
- -
-
- - +{% block stylesheet -%} + +{%- endblock %} + +{% block content %} +
+ + + + + + + + +
+ {% block innercontent %} + {% endblock %} +
+

Our mailing address is:
+ HasGeek, #2699, 5th Cross, HAL 2nd Stage, Indira Nagar, Bangalore, 560008, India

+ +
+{% endblock %} diff --git a/hasjob/templates/moderate_email.html.jinja2 b/hasjob/templates/moderate_email.html.jinja2 index 6ca3fd6f2..2c0863879 100644 --- a/hasjob/templates/moderate_email.html.jinja2 +++ b/hasjob/templates/moderate_email.html.jinja2 @@ -1,6 +1,5 @@ -{% extends "inc/email_layout_lite.html.jinja2" %} - -{% block content %} +{% extends "inc/email_layout.html.jinja2" %} +{% block innercontent %}
@@ -17,6 +16,9 @@

Your post has been temporarily de-listed by moderator {{ post.reviewer.fullname }}, who left the following comment. Please edit the post and correct the indicated issue. A warning notice will appear on your post until you edit it:


{{ post.review_comments }}

-
-

Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service.

+
+

+ {% if g.board and g.board.not_root %}[{{ g.board.title }}][board] is powered by Hasjob. {% endif -%} + Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service. +

{% endblock %} diff --git a/hasjob/templates/reject_domain_email.html.jinja2 b/hasjob/templates/reject_domain_email.html.jinja2 index 7465baee2..2ff480301 100644 --- a/hasjob/templates/reject_domain_email.html.jinja2 +++ b/hasjob/templates/reject_domain_email.html.jinja2 @@ -1,6 +1,5 @@ -{% extends "inc/email_layout_lite.html.jinja2" %} - -{% block content %} +{% extends "inc/email_layout.html.jinja2" %} +{% block innercontent %}

Hi {% if post.user %}{{ post.user.fullname }}{% else %}{{ post.company_name }}{% endif %},

This is regarding your job post(s) on Hasjob. A moderator ({{ post.reviewer.fullname }}) reviewed your post(s) and determined that you represent a recruitment agency or other class of employer that is not accepted on Hasjob, and has therefore taken down the following jobs:

@@ -11,6 +10,9 @@

The moderator provided the following reason: "{{ post.review_comments }}"

If you believe this is incorrect and would like to appeal, please forward this email to {{ config['SUPPORT_EMAIL'] }} with an explanation.

-
-

Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service.

+
+

+ {% if g.board and g.board.not_root %}[{{ g.board.title }}][board] is powered by Hasjob. {% endif -%} + Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service. +

{% endblock %} diff --git a/hasjob/templates/reject_email.html.jinja2 b/hasjob/templates/reject_email.html.jinja2 index 65bf4fdcf..7c30bfb25 100644 --- a/hasjob/templates/reject_email.html.jinja2 +++ b/hasjob/templates/reject_email.html.jinja2 @@ -1,10 +1,12 @@ -{% extends "inc/email_layout_lite.html.jinja2" %} - -{% block content %} +{% extends "inc/email_layout.html.jinja2" %} +{% block innercontent %}

Hi {{ post.company_name }},

This is regarding your job post on Hasjob titled "{{ post.headline }}". Unfortunately, your post is not in compliance with our Terms of Service and has been taken down. Your post was reviewed by {{ post.reviewer.fullname }}, who left the following comment:

"{{ post.review_comments }}"

You are welcome to post again in compliance with our Terms of Service.

-
-

Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service.

+
+

+ {% if g.board and g.board.not_root %}[{{ g.board.title }}][board] is powered by Hasjob. {% endif -%} + Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service. +

{% endblock %} diff --git a/hasjob/templates/respond_email.html.jinja2 b/hasjob/templates/respond_email.html.jinja2 index 5b6f41b13..87a23863f 100644 --- a/hasjob/templates/respond_email.html.jinja2 +++ b/hasjob/templates/respond_email.html.jinja2 @@ -1,6 +1,5 @@ -{% extends "inc/email_layout_lite.html.jinja2" %} - -{% block content -%} +{% extends "inc/email_layout.html.jinja2" %} +{% block innercontent %}
@@ -30,4 +29,9 @@ Your application on {{ job_application.created_at|longdate }}:

{{ job_application.message|safe }} +
+

+ {% if g.board and g.board.not_root %}[{{ g.board.title }}][board] is powered by Hasjob. {% endif -%} + Hasjob is a service of HasGeek. Write to us at {{ config['SUPPORT_EMAIL'] }} if you have suggestions or questions on this service. +

{%- endblock %}