summaryrefslogtreecommitdiff
path: root/sublab_project/news/templates/news/news_detail.html
blob: 918fe601153ab9bb2f55a1c6f1991b097772bbab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends 'base.html' %}

{% block title %}{{ object.title }}{% endblock %}

{% block content %}
	<p class="news_date">{{ object.date_updated|date:"DATETIME_FORMAT" }}</p>
	<h2 id="{{ object.slug }}">{{ object.title }}</h3>
    {% if object.image %}
    <div class="imagecontent">
        <img src="{{ MEDIA_URL }}{{ object.image }}" width="{{ object.image_width }}" height="{{ object.image_height }}" align="right" />
    </div>
    {% endif %}
    {{ object.content_html|safe }}
	<p class="header">{{ object.author }}</p>
{% endblock content %}