Commit 2784a117 authored by Nigel McNie's avatar Nigel McNie

Improve the message shown for a post that has been deleted.

(cherry picked from commit 38fc37f9)
parent 856a43d7
......@@ -52,7 +52,6 @@ $string['closeddescription'] = 'Closed topics can only be replied to by moderato
$string['Count'] = 'Count';
$string['currentmoderators'] = 'Current Moderators';
$string['deleteforum'] = 'Delete forum';
$string['deletedpost'] = 'This post has been deleted';
$string['deletepost'] = 'Delete post';
$string['deletepostsuccess'] = 'Post deleted successfully';
$string['deletepostsure'] = 'Are you sure you want to do this? It cannot be undone.';
......@@ -91,6 +90,7 @@ $string['Open'] = 'Open';
$string['Order'] = 'Order';
$string['orderdescription'] = 'Choose where you want the forum to be ordered compared to the other forums';
$string['Post'] = 'Post';
$string['postbyuserwasdeleted'] = 'A post by %s was deleted';
$string['postedin'] = '%s posted in %s';
$string['Poster'] = 'Poster';
$string['postreply'] = 'Post reply';
......
{if $post->deleted}
<h4>{str tag="deletedpost" section="interaction.forum}</h4>
{assign var=poster value=$post->poster|display_name|escape}
<h4 class="deletedpost">{str tag="postbyuserwasdeleted" section="interaction.forum args=$poster}</h4>
{else}
{if $post->parent}
{include file="interaction:forum:simplepost.tpl" post=$post groupadmins=$groupadmins}
......
......@@ -2463,6 +2463,10 @@ span.breadcrumbs a {
text-align: right;
padding-right: 10px;
}
.deletedpost {
color: gray;
margin-top: 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment