Vis rolle information
This commit is contained in:
@ -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>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user