detail pages for customers and projects (#1371)
This commit is contained in:
@@ -38,7 +38,7 @@ class UserTeamProjects extends SimpleWidget implements AuthorizedWidget
|
||||
$options = parent::getOptions($options);
|
||||
|
||||
if (empty($options['id'])) {
|
||||
$options['id'] = uniqid('UserTeamProjects_');
|
||||
$options['id'] = 'WidgetUserTeamProjects';
|
||||
}
|
||||
|
||||
return $options;
|
||||
|
||||
@@ -17,7 +17,7 @@ class UserTeams extends SimpleWidget implements AuthorizedWidget
|
||||
public function __construct(CurrentUser $user)
|
||||
{
|
||||
$this->setId('UserTeams');
|
||||
$this->setTitle('label.teams');
|
||||
$this->setTitle('label.my_teams');
|
||||
$this->setOptions([
|
||||
'user' => $user->getUser(),
|
||||
'id' => '',
|
||||
@@ -29,7 +29,7 @@ class UserTeams extends SimpleWidget implements AuthorizedWidget
|
||||
$options = parent::getOptions($options);
|
||||
|
||||
if (empty($options['id'])) {
|
||||
$options['id'] = uniqid('UserTeams_');
|
||||
$options['id'] = 'WidgetUserTeams';
|
||||
}
|
||||
|
||||
return $options;
|
||||
|
||||
Reference in New Issue
Block a user