<div class="container">
<div class="row" data-summary-content>
<div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
- <h2 class="dotted">{{ block.title }}</h2>
+ {% editable block.title %}
+ <h2 class="dotted">{{ block.title }}</h2>
+ {% endeditable %}
{% if block.description %}
<div class="chapo">
- {{ block.description }}
+ {% editable block.description %}
+ {{ block.description }}
+ {% endeditable %}
</div>
{% endif %}
{% if block.content %}
- {{ block.content|richtext_filters|safe }}
+ {% editable block.content %}
+ {{ block.content|richtext_filters|safe }}
+ {% endeditable %}
{% endif %}
</div>
</div>
{% load mezzanine_tags i18n %}
<ul class="unstyled-list fss">
{% for link in links %}
- <li><a href="{{ link.url }}" title=""><i class="fa fa-{{ link.link_type.name }}" target="_blank"></i> {% firstof link.title link.url%}</a></li>
+ <li><a href="{{ link.url }}" title="{{ link.link_type.name }}" target="_blank"><i class="fa fa-{{ link.link_type.name }}"></i> {% firstof link.title link.url%}</a></li>
{% endfor %}
</ul>
</div>
<div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
+ {% editable content.title %}
+ <h2 class="job-line-box__title">{{ content.title }}</h2>
+ {% endeditable %}
- <h2 class="job-line-box__title">{{ content.title }}</h2>
<div class="job-line-box__desc">
- {% if content.date_from and content.date_to %}
- <strong>{% trans "From" %} {{ content.date_from|date:"DATE_FORMAT" }} {% trans "to" %} {{ content.date_to|date:"DATE_FORMAT" }}</strong><br/>
- {% elif content.date_from %}
- <strong>{% trans "From" %} {{ content.date_from|date:"DATE_FORMAT" }}</strong><br/>
- {% elif content.date_to %}
- <strong>{% trans "until" %}{{ content.date_to|date:"DATE_FORMAT" }}</strong><br/>
- {% endif %}
+ {% editable content.date_from content.date_to %}
+ {% if content.date_from and content.date_to %}
+ <strong>{% trans "From" %} {{ content.date_from|date:"DATE_FORMAT" }} {% trans "to" %} {{ content.date_to|date:"DATE_FORMAT" }}</strong><br/>
+ {% elif content.date_from %}
+ <strong>{% trans "From" %} {{ content.date_from|date:"DATE_FORMAT" }}</strong><br/>
+ {% elif content.date_to %}
+ <strong>{% trans "until" %}{{ content.date_to|date:"DATE_FORMAT" }}</strong><br/>
+ {% endif %}
+ {% endeditable %}
<br />
- {{ content.description }}
+ {% editable content.description %}
+ {{ content.description }}
+ {% endeditable %}
</div>
{% if content.external_content and content.text_button_external %}
<a class="button button--small" href="{{ content.external_content }}" title="{{ content.text_button_external }}">{{ content.text_button_external }}</a>
<div class="job-line-box">
{% if jo.type %}
<div class="tag tag--small tag--category">
- {{jo.type}}
+ {% editable jo.type %}
+ {{jo.type}}
+ {% endeditable %}
</div>
{% endif %}
- <a href="{{ jo.get_absolute_url }}"><h2 class="job-line-box__title">{{ jo.title }}</h2></a>
+ <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" }}
+ <strong>{% trans 'Published on' %} {{ jo.publish_date|date:"DATE_FORMAT" }}</strong><br />
+ {% editable jo.description %}
+ {{ jo.description|slice:":255" }}
+ {% endeditable %}
</div>
<a href="{{ jo.get_absolute_url }}" class="button button--small">{% trans "View" %}</a>
</div>
{% block page_title %}
- {% editable project.title %}
+ {% editable job_offer.title %}
<h1 class="dotted">{{ job_offer.title }}</h1>
{% endeditable %}
{% comment %}
<p>{% trans "Category" %} : {{ job_offer.type }}</p>
{% endcomment %}
-
- {{ job_offer.content|richtext_filters|safe }}
-
+ {% editable job_offer.content %}
+ {{ job_offer.content|richtext_filters|safe }}
+ {% endeditable %}
{% with form as job_offer.job_response %}
{% endblock %}
{% block page_content %}
-
{% if project.content %}
- {{ project.content|richtext_filters|safe }}
+ {% editable project.content %}
+ {{ project.content|richtext_filters|safe }}
+ {% endeditable %}
{% endif %}
-
{% endblock %}
{% block page_sidebar %}