You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
538 B
HTML

{% extends 'base.html' %}
{% block title %}{{ newsarticle.title }}{% endblock %}
{% block header %}<h1>{{ newsarticle.title }}</h1>{% endblock %}
{% block content %}
<div class="detail-container">
<h1>Written by {{ newsarticle.author }}</h1>
<hr>
<h4>Timestamp</h4>
<p>{{ newsarticle.timestamp }}</p>
<hr>
<h4>Location</h4>
<p><a href="{% url 'mensaviewer:location_detail' newsarticle.location.pk %}">{{ newsarticle.location.name }}</a></p>
<hr>
<h4>Text</h4>
<p>{{ newsarticle.text }}</p>
</div>
{% endblock %}