2017-07-03 08:14:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block content %}
|
2017-12-19 12:36:21 +00:00
|
|
|
{% include "edit.html" with content=projects %}
|
2017-07-03 08:14:07 +00:00
|
|
|
|
|
|
|
<div class="large-8 medium-8 columns special-column">
|
2017-12-18 12:54:04 +00:00
|
|
|
{% if projects.image %}
|
|
|
|
<img src="{{ projects.image_url }}">
|
|
|
|
{% endif %}
|
2017-07-03 08:14:07 +00:00
|
|
|
<div class="index-text">
|
2017-12-18 12:54:04 +00:00
|
|
|
<h4><a href="{{ projects.get_absolute_url }}/" class="big-title">{{projects.title}} </a></h4>
|
2017-07-03 08:14:07 +00:00
|
|
|
<p> {{projects.formatted_header|safe}} </p>
|
|
|
|
<p> {{projects.formatted_body|safe}} </p>
|
2017-12-18 13:44:11 +00:00
|
|
|
{% include "opt.html" with content=projects %}
|
2017-12-19 11:49:08 +00:00
|
|
|
{% include "links.html" with content=projects %}
|
2017-12-19 11:41:34 +00:00
|
|
|
{% include "gallery.html" with gallery=gallery %}
|
2017-07-03 08:14:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% if latest_content_list %}
|
|
|
|
|
|
|
|
<div class="large-4 medium-4 columns">
|
2017-12-18 14:54:39 +00:00
|
|
|
{% include "related.html" with related=projects.children.all %}
|
|
|
|
<h4 class="sidebar-h4">Projects </h4>
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
{% for projects in latest_content_list %}
|
|
|
|
<div class="row right-items">
|
|
|
|
<div class="small-6 columns">
|
|
|
|
<a href="{{ projects.get_absolute_url }}"> <img src="{{ projects.image_url }}"> </a>
|
|
|
|
</div>
|
|
|
|
<div class="small-6 columns">
|
|
|
|
<a href="{{ projects.get_absolute_url }}" class="sidebar-title">{{ projects.title }}</a>
|
|
|
|
<p> {{projects.formatted_teaser}} </p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
|
|
|
<p>No projects.</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-07-03 08:14:07 +00:00
|
|
|
|
2017-12-18 12:54:04 +00:00
|
|
|
{% endblock %}
|