minor usability improvements, added default spacing between paragraph tags, added last edited/updated to articles and article cards.
This commit is contained in:
@@ -103,7 +103,8 @@ function article_page_from_markdown($article_id)
|
||||
<div class="row">
|
||||
<div class="col_right">
|
||||
<h5>Written by <a href="user.php?action=view&user_id=' . $author['user_id'] . '">' . $author['username'] . '</a></h5>
|
||||
<p>Published on ' . $article['published_at'] . '</p>
|
||||
<p>Published on ' . $article['published_at'] . '<br>
|
||||
Lasted edited on ' . $article['updated_at'] . '</p>
|
||||
</div>
|
||||
<div class="card_pic_box">
|
||||
<img src="' . $_ENV['PROFILE_IMAGES_PQ_PATH'] . $author['profile_picture'] . '" class="card_profile_picture" />
|
||||
@@ -175,6 +176,7 @@ function article_card($article_id)
|
||||
<div class="col-right">
|
||||
<a href="user.php?action=view&user_id=' . $author['user_id'] . '">Written by: ' . $author['username'] . '</a>
|
||||
<small>Published: ' . $article['published_at'] . '</small>
|
||||
<small>Updated: ' . $article['updated_at'] . '</small>
|
||||
</div>
|
||||
<div class="card_pic_box">
|
||||
<img src="' . $_ENV['PROFILE_IMAGES_PQ_PATH'] . $author['profile_picture'] . '" class="card_profile_picture">
|
||||
|
||||
Reference in New Issue
Block a user