Merge remote-tracking branch 'origin/main'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
c425977ed4
@ -1,12 +1,18 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
|
||||
{% block title %}Comment{% endblock %}
|
||||
|
||||
{% block header %}<h1>Comment by {{ comment.author }}</h1>{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="detail-container">
|
||||
<h1>By {{ comment.author }}</h1>
|
||||
<h3>Timestamp: {{ comment.timestamp }}</h3>
|
||||
<h3>Menu: <a href="{% url 'mensaviewer:menu_detail' comment.menu.pk %}">{{ comment.menu.name }}</a></h3>
|
||||
<h3>Text: {{ comment.text }}</h3>
|
||||
<p>Timestamp: {{ comment.timestamp }}</p>
|
||||
<hr>
|
||||
<p>Text: </p>
|
||||
<p>{{ comment.text }}</p>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -1,12 +1,23 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
|
||||
{% block title %}{{ newsarticle.title }}{% endblock %}
|
||||
|
||||
{% block header %}<h1>{{ newsarticle.title }}</h1>{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="detail-container">
|
||||
<h1>By {{ newsarticle.author }}</h1>
|
||||
<h3>Timestamp: {{ newsarticle.timestamp }}</h3>
|
||||
<h3>Location: <a href="{% url 'mensaviewer:location_detail' newsarticle.location.pk %}">{{ newsarticle.location.name }}</a></h3>
|
||||
<h3>Text: {{ newsarticle.text }}</h3>
|
||||
<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 %}
|
||||
|
Loading…
Reference in New Issue