hausarbeit-hikmat_galan_neu.../mensaviewer/templates/news/detail.html
Jannes Hikmat 4b07f346a0
All checks were successful
continuous-integration/drone/push Build is passing
templates, css & views nochmal überarbeitet
2023-01-08 21:16:45 +01:00

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 %}