From 85dd2eb2a1d171127f31c49c923fe86181461240 Mon Sep 17 00:00:00 2001 From: aydreeihn <adriane@enhancesoft.com> Date: Fri, 28 Dec 2018 13:08:46 -0600 Subject: [PATCH] Task Collaborators This commit changes the wording for Collaborators on Tasks to match the wording for Collaborators on Tickets. --- include/staff/templates/collaborators.tmpl.php | 4 ++-- include/staff/templates/task-view.tmpl.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/staff/templates/collaborators.tmpl.php b/include/staff/templates/collaborators.tmpl.php index d25d10a83..b2545daa3 100644 --- a/include/staff/templates/collaborators.tmpl.php +++ b/include/staff/templates/collaborators.tmpl.php @@ -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()); ?> diff --git a/include/staff/templates/task-view.tmpl.php b/include/staff/templates/task-view.tmpl.php index 6153c8f20..130beecf4 100644 --- a/include/staff/templates/task-view.tmpl.php +++ b/include/staff/templates/task-view.tmpl.php @@ -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()); -- GitLab