mirror of
https://github.com/remoteintech/remote-jobs
synced 2024-12-27 12:53:09 +00:00
58 lines
1.6 KiB
HTML
58 lines
1.6 KiB
HTML
{% extends 'base.html' %}
|
|
|
|
{% block pageTitle %}{{ company.name }}{% endblock %}
|
|
|
|
{% block pageContent %}
|
|
<h1 class="company-name">{{ company.name }}</h1>
|
|
|
|
<div class="section section-atAGlance">
|
|
<a
|
|
href="{{ company.websiteUrl }}"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>{{ company.websiteText }}</a>
|
|
{% if company.shortRegion %}
|
|
• {{ company.shortRegion }}
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% for headingProperty, headingText in headingPropertyNames %}
|
|
{% if company.profileContent[ headingProperty ] %}
|
|
<div class="section section-{{ headingProperty }}">
|
|
<h2>{{ headingText }}</h2>
|
|
{{ company.profileContent[ headingProperty ]|safe }}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
{# There are different "levels" of incomplete - if company.isIncomplete is
|
|
# true then this profile is "really" incomplete, with a warning icon and
|
|
# everything, so there is no point in showing this section.
|
|
#}
|
|
{% if missingHeadings.length and ! company.isIncomplete %}
|
|
<div class="section section-missingInfo">
|
|
<h2>Missing info</h2>
|
|
<p>
|
|
We're missing some information about this company! Here's what
|
|
else we need:
|
|
</p>
|
|
<ul>
|
|
{% for headingProperty in missingHeadings %}
|
|
<li>{{ headingPropertyNames[ headingProperty ] }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
<p>
|
|
<strong>Want to help?</strong>
|
|
<a
|
|
href="https://github.com/remoteintech/remote-jobs/edit/master/company-profiles/{{ company.linkedFilename }}"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>
|
|
Send us a pull request on GitHub
|
|
</a>
|
|
with your changes to this file!
|
|
</p>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|