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