@import 'boxes/brief-box';
@import 'boxes/person-list-box';
@import 'boxes/event-line-box';
+@import 'boxes/job-line-box';
// Sliders
@import 'sliders/slider-page';
--- /dev/null
+$module: ".job-line-box";
+
+#{$module} {
+
+ &:after {
+
+ content: "";
+ display: block;
+ width: 100%;
+ height: 1px;
+ background: rgba(0, 0, 0, 0.25);
+
+ @include margin(2 0 1 0);
+
+ @include mq($until: sm) {
+ @include margin(1 0 1 0);
+ }
+
+ }
+
+ &__title {
+
+ @include margin-bottom(1);
+ @include margin-top(0.5);
+
+ }
+
+ &__desc {
+
+ @include margin-bottom(1);
+
+ }
+
+}
-<a href="{{ jo.get_absolute_url }}" title="{{ jo.title }}">
- <h2>{{ jo.title }}</h2>
- <p>{{ jo.description|slice:":255" }}</p>
-</a>
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+<div class="job-line-box">
+ {% if jo.type %}
+ <div class="tag tag--small tag--category">
+ {{jo.type}}
+ </div>
+ {% endif %}
+ <a href="{{ jo.get_absolute_url }}"><h2 class="job-line-box__title">{{ jo.title }}</h2></a>
+ <div class="job-line-box__desc">
+ <strong>{{ jo.publish_date|date:"DATE_FORMAT" }}</strong><br />
+ {{ jo.description|slice:":255" }}
+ </div>
+ <a href="{{ jo.get_absolute_url }}" class="button button--small">{% trans "View" %}</a>
+</div>
{% extends "pages/page.html" %}
{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
-{% block meta_title %}{{ job_offer.meta_title }}{% endblock %}
+{% block meta_title %}{% trans "Jobs" %}{% endblock %}
{% block meta_description %}{% metablock %}
{{ job_offer.description }}
{% endblock %}
{% block page_title %}
- <h1 class="dashed">{% trans "Jobs" %}</h1>
+ <h1 class="dotted">{% trans "Jobs" %}</h1>
{% endblock %}
{% block page_content %}
+
{% if job_offer %}
- {% for jo in job_offer %}
- {% include "job/inc/job_offer_card.html" %}
- {% endfor %}
+
+ {% for jo in job_offer %}
+ {% include "job/inc/job_offer_card.html" %}
+ {% endfor %}
+
{% else %}
- <p>{% trans "Please come back later. There is no job offer at the moment." %}</p>
+
+ <p>{% trans "Please come back later. There is no job offer at the moment." %}</p>
+
{% endif %}
{% endblock %}