Vis rolle information

This commit is contained in:
Mikkel
2022-06-04 12:12:18 +02:00
parent 6d09e89603
commit ca0099063a
3 changed files with 11 additions and 6 deletions

View File

@ -10,7 +10,7 @@
<article class="media content-section">
<div class="media-body">
<div class="article-metadata">
<a class="mr-2 author-name" href="#">{{ post.author.first_name }} {{ post.author.last_name }} </a>
<a class="mr-2 author-name" href="#">{{ post.author.first_name }} {{ post.author.last_name }} ({{ post.author.role }})</a>
<small class="text-muted float-right">{{ post.created_date.strftime('%H:%M %d-%m-%Y')}}</small>
</div>
<h2><a class="article-title" href="#">{{ post.title }}</a></h2>

View File

@ -10,7 +10,7 @@
<div class="message-container">
{% endif %}
<div class="content-section message">
<a class="author-name" href="#">{{ message.author.first_name }}</a>
<a class="author-name" href="#">{{ message.author.first_name }} ({{ message.author.role }})</a>
<p>{{ message.content }}</p>
</div>
<p class="timestamp">{{ message.created_date }}</p>