Add Gravatar integration
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
<div class="comment <?= isset($preview) ? 'comment-preview' : '' ?>" id="comment-<?= $comment['id'] ?>">
|
||||
|
||||
<p class="comment-title">
|
||||
<?php if (! empty($comment['email'])): ?>
|
||||
<?= $this->avatar($comment['email'], $comment['name'] ?: $comment['username']) ?>
|
||||
<?php endif ?>
|
||||
<span class="comment-username"><?= $this->e($comment['name'] ?: $comment['username']) ?></span> @ <span class="comment-date"><?= dt('%B %e, %Y at %k:%M %p', $comment['date']) ?></span>
|
||||
</p>
|
||||
|
||||
<div class="comment-inner">
|
||||
|
||||
<?php if (! isset($preview)): ?>
|
||||
|
||||
@@ -6,6 +6,11 @@
|
||||
|
||||
<?= $this->formCsrf() ?>
|
||||
|
||||
<h3><?= t('Gravatar') ?></h3>
|
||||
<div class="listing">
|
||||
<?= $this->formCheckbox('integration_gravatar', t('Enable Gravatar images'), 1, $values['integration_gravatar'] == 1) ?>
|
||||
</div>
|
||||
|
||||
<h3><img src="assets/img/hipchat-icon.png"/> <?= t('Hipchat') ?></h3>
|
||||
<div class="listing">
|
||||
<?= $this->formCheckbox('integration_hipchat', t('Send notifications to Hipchat'), 1, $values['integration_hipchat'] == 1) ?>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s commented the task %s',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated a comment on the task %s',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s created a subtask for the task %s',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated a subtask for the task %s',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?php $assignee = $task['assignee_name'] ?: $task['assignee_username'] ?>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s closed the task %s',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s created the task %s',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s moved the task %s to the column "%s"',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s moved the task %s to the position #%d in the column "%s"',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s opened the task %s',
|
||||
$this->e($author),
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<?= $this->avatar($email, $author) ?>
|
||||
|
||||
<p class="activity-title">
|
||||
<?= e('%s updated the task %s',
|
||||
$this->e($author),
|
||||
|
||||
Reference in New Issue
Block a user