2023-01-08 18:51:05 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
2023-01-08 20:16:45 +00:00
|
|
|
|
|
|
|
{% block title %}{{ newsarticle.title }}{% endblock %}
|
|
|
|
|
|
|
|
{% block header %}<h1>{{ newsarticle.title }}</h1>{% endblock %}
|
|
|
|
|
2023-01-08 18:51:05 +00:00
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class="detail-container">
|
2023-01-08 20:16:45 +00:00
|
|
|
<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>
|
2023-01-08 18:51:05 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|