Skip to content
Snippets Groups Projects
Unverified Commit 2537164f authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4640 from aydreeihn/issue/task-collabs

Task Collaborators
parents 2897d823 85dd2eb2
Branches
Tags
No related merge requests found
......@@ -81,10 +81,10 @@ if(($users=$thread->getCollaborators())) {?>
if ($_POST && $thread && $thread->getNumCollaborators()) {
$collaborators = sprintf('Participants (%d)',
$collaborators = sprintf('Collaborators (%d)',
$thread->getNumCollaborators());
$recipients = sprintf(__('Recipients (%d of %d)'),
$recipients = sprintf(__('Collaborators (%d of %d)'),
$thread->getNumActiveCollaborators(),
$thread->getNumCollaborators());
?>
......
......@@ -372,9 +372,9 @@ if (!$ticket) { ?>
<th><?php echo __('Collaborators');?>:</th>
<td>
<?php
$collaborators = __('Add Participants');
$collaborators = __('Collaborators');
if ($task->getThread()->getNumCollaborators())
$collaborators = sprintf(__('Participants (%d)'),
$collaborators = sprintf(__('Collaborators (%d)'),
$task->getThread()->getNumCollaborators());
echo sprintf('<span><a class="collaborators preview"
......@@ -486,9 +486,9 @@ else
style="display:<?php echo $thread->getNumCollaborators() ? 'inline-block': 'none'; ?>;"
>
<?php
$recipients = __('Add Participants');
$recipients = __('Collaborators');
if ($thread->getNumCollaborators())
$recipients = sprintf(__('Recipients (%d of %d)'),
$recipients = sprintf(__('Collaborators (%d of %d)'),
$thread->getNumActiveCollaborators(),
$thread->getNumCollaborators());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment