Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update email template #449

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Binary file added hasjob/static/img/envelope.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 17 additions & 11 deletions hasjob/templates/apply_email.html.jinja2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "inc/email_layout_lite.html.jinja2" %}
{% block content %}
{% extends "inc/email_layout.html.jinja2" %}
{% block innercontent %}
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<meta itemprop="name" content="Respond to Candidate"/>
Expand All @@ -11,19 +11,25 @@
<link itemprop="url" href="{{ url_for('index', subdomain=none, _external=true) }}"/>
</div>
</div>
<p>
<em>{{ job_application.fullname }}</strong> has applied for <a href="{{ post.url_for(_external=true) }}" target="_blank">{{ post.headline }}</a>:</em>
<p>{{ job_application.fullname }}</strong> has applied for <a href="{{ post.url_for(_external=true) }}" target="_blank">{{ post.headline }}</a>:
</p>
<hr>
{{ job_application.message|safe }}
<hr>
<p>
<a class="btn" href="{{ archive_url }}" target="_blank">Respond to candidate</a>
or
<a class="btn" href="{{ archive_url }}" target="_blank">Report this</a>
</p>
<p>
<strong>Note:</strong> The message above is exactly as the candidate submitted it. We do not accept attachments or reformat documents.
<img src="{{ job_application.url_for('track-open', _external=true) }}" alt="" width="1" height="1">
</p>
<table>
<tbody>
<tr>
<td>
<a class="btn" href="{{ archive_url }}" target="_blank">Respond to candidate</a>
</td>
</tr>
</tbody>
</table>
<hr class="separator">
<p>
{% if g.board and g.board.not_root %}[{{ g.board.title }}][board] is powered by Hasjob. {% endif -%}
<a href="{{ url_for('index', subdomain=none, _external=true) }}">Hasjob</a> is a service of <a href="https://hasgeek.com/">HasGeek</a>. Write to us at <a href="mailto:{{ config['SUPPORT_EMAIL'] }}">{{ config['SUPPORT_EMAIL'] }}</a> if you have suggestions or questions on this service.
</p>
{% endblock %}
26 changes: 14 additions & 12 deletions hasjob/templates/confirm_email.html.jinja2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% extends "inc/email_layout_lite.html.jinja2" %}
{% block content %}
{% extends "inc/email_layout.html.jinja2" %}
{% block innercontent %}
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ConfirmAction">
<meta itemprop="name" content="Confirm job post"/>
Expand All @@ -14,16 +14,18 @@
</div>
</div>
<p>Hello,</p>
<p>This is a confirmation email for the job you listed at {% if g.board -%} {{ g.board.title }} {%- else -%} {{ config['SITE_TITLE'] }} {%- endif %}:
<strong>{{ post.headline|e }}</strong></p>
<p><a class="btn" href="{{ post.url_for('confirm-link', _external=true) }}">Confirm job post</a></p>
<p>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:</p>
<ul>
<li><a href="{{ post.url_for('edit', _external=true) }}">Edit job post</a></li>
<li><a href="{{ post.url_for('withdraw', _external=true) }}">Withdraw job post</a></li>
</ul>
<p>This is a confirmation email for the job you listed at {% if g.board -%} {{ g.board.title }} {%- else -%} {{ config['SITE_TITLE'] }} {%- endif %}: <strong>{{ post.headline|e }}</strong></p>
<table role="presentation">
<tbody>
<tr>
<td>
<a href="{{ post.url_for('confirm-link', _external=true) }}" class="btn" target="_blank">Confirm job post</a>
</td>
</tr>
</tbody>
</table>
<p>Once you confirm the job post, all the candidate applications go to "{{ post.email }}". If you wish to send the applications to different email, <a href="{{ post.url_for('edit', _external=true) }}">edit the job post</a></p>
<hr class="separator">
<p>
{% if g.board and g.board.not_root %}[{{ g.board.title }}][board] is powered by Hasjob. {% endif -%}
<a href="{{ url_for('index', subdomain=none, _external=true) }}">Hasjob</a> is a service of <a href="https://hasgeek.com/">HasGeek</a>. Write to us at <a href="mailto:{{ config['SUPPORT_EMAIL'] }}">{{ config['SUPPORT_EMAIL'] }}</a> if you have suggestions or questions on this service.
Expand Down
5 changes: 2 additions & 3 deletions hasjob/templates/connect_email.html.jinja2
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% extends "inc/email_layout_lite.html.jinja2" %}

{% block content -%}
{% extends "inc/email_layout.html.jinja2" %}
{% block innercontent %}
<p>
<strong>{{ job_application.fullname }}</strong>, meet <strong>{{ post.fullname or post.company_name }}</strong> regarding your application for <a href="{{ post.url_for(_external=true) }}" target="_blank">{{ post.headline }}</a>. You can reply to this email to initiate a conversation.
</p>
Expand Down
Loading