summaryrefslogtreecommitdiff
path: root/sublab_project/projects/templates/projects/project_detail.html
blob: 5c0a6dd0637640e487471e5cc36918d475502902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends 'base.html' %}
{% load thumbnail %}

{% block title %}Projekt: {{ object.name }}{% endblock %}

{% block content %}
	<h2 id="{{ object.slug }}">Projekt: {{ object.name }}</h2>
    {% if object.image %}
    <div class="imagecontent">
        <a href="{% url project_image object.slug %}">
            {% thumbnail object.image "200" upscale=False as image %}
            <img src="{{ image.url }}" width="{{ image.width }}" height="{{ image.height }}" align="right" />
            {% endthumbnail %}
        </a>
    </div>
    {% endif %}
    {{ object.description_html|safe }}
    {% if object.contact_email %}
    <p>E-Mail: {{ object.contact_email }}</p>
    {% endif %}
    {% if object.contact_url %}
    <p><a href="{{ object.contact_url }}">{{ object.contact_url }}</a></p>
    {% endif %}
{% endblock content %}