diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-08-16 17:53:07 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-08-16 17:53:07 -0700 |
commit | 658123a2328867a87da59ca660a7044d99eea22c (patch) | |
tree | e9d278eeba1699b13823dc7b115dce56635d0823 /app/Templates/notification_comment_creation.php | |
parent | db3c006be80d6690892b11608619f9683824e21b (diff) |
The fullname is displayed instead of the username if not empty
Diffstat (limited to 'app/Templates/notification_comment_creation.php')
-rw-r--r-- | app/Templates/notification_comment_creation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Templates/notification_comment_creation.php b/app/Templates/notification_comment_creation.php index ff286790..79d34f90 100644 --- a/app/Templates/notification_comment_creation.php +++ b/app/Templates/notification_comment_creation.php @@ -1,6 +1,6 @@ <h2><?= Helper\escape($task['title']) ?> (#<?= $task['id'] ?>)</h2> -<h3><?= t('New comment posted by %s', $comment['username']) ?></h3> +<h3><?= t('New comment posted by %s', $comment['name'] ?: $comment['username']) ?></h3> <?= Helper\parse($comment['comment']) ?> |