Fix wrong dropdown menu in group members list
This commit is contained in:
@@ -12,6 +12,7 @@ Bug fixes:
|
|||||||
|
|
||||||
* Ensure project tags are removed when the project is removed
|
* Ensure project tags are removed when the project is removed
|
||||||
* Avoid PHP notice when regenerating API token for a user
|
* Avoid PHP notice when regenerating API token for a user
|
||||||
|
* Fix wrong dropdown menu in group members list
|
||||||
|
|
||||||
Version 1.0.43 (April 30, 2017)
|
Version 1.0.43 (April 30, 2017)
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Only moving task between those columns is permitted for tasks assigned to the current user',
|
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Only moving task between those columns is permitted for tasks assigned to the current user',
|
||||||
'[DUPLICATE]' => '[DUPLICATE]',
|
'[DUPLICATE]' => '[DUPLICATE]',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Das Bewegen einer Aufgabe zwischen diesen Spalten ist nur für Aufgaben zulässig, die dem aktuellen Benutzer zugewiesen sind',
|
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Das Bewegen einer Aufgabe zwischen diesen Spalten ist nur für Aufgaben zulässig, die dem aktuellen Benutzer zugewiesen sind',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Seulement le déplacement des tâches entre ces colonnes est autorisé pour l\'utilisateur courant',
|
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Seulement le déplacement des tâches entre ces colonnes est autorisé pour l\'utilisateur courant',
|
||||||
'[DUPLICATE]' => '[COPIE]',
|
'[DUPLICATE]' => '[COPIE]',
|
||||||
'DKK - Danish Krona' => 'DKK - Couronne danoise',
|
'DKK - Danish Krona' => 'DKK - Couronne danoise',
|
||||||
|
'Remove user from group' => 'Supprimer cet utilisateur du groupe',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Az aktuális felhasználóhoz rendelt feladatok csak az engedélyezett oszlopok között mozgathatóak',
|
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Az aktuális felhasználóhoz rendelt feladatok csak az engedélyezett oszlopok között mozgathatóak',
|
||||||
'[DUPLICATE]' => '[Duplikált]',
|
'[DUPLICATE]' => '[Duplikált]',
|
||||||
'DKK - Danish Krona' => 'Dán korona',
|
'DKK - Danish Krona' => 'Dán korona',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Somente movimentação de tarefas entre aquelas colunas são permitidas para tarefas designadas para o usuário atual',
|
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Somente movimentação de tarefas entre aquelas colunas são permitidas para tarefas designadas para o usuário atual',
|
||||||
'[DUPLICATE]' => '[DUPLICADO]',
|
'[DUPLICATE]' => '[DUPLICADO]',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Apenas é permitido mover a tarefa entre essas colunas para tarefas atribuídas ao utilizador atual',
|
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Apenas é permitido mover a tarefa entre essas colunas para tarefas atribuídas ao utilizador atual',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Текущий пользователь может перемещать назначенные ему задачи только между этими колонками',
|
'Only moving task between those columns is permitted for tasks assigned to the current user' => 'Текущий пользователь может перемещать назначенные ему задачи только между этими колонками',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1333,4 +1333,5 @@ return array(
|
|||||||
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
// 'Only moving task between those columns is permitted for tasks assigned to the current user' => '',
|
||||||
// '[DUPLICATE]' => '',
|
// '[DUPLICATE]' => '',
|
||||||
// 'DKK - Danish Krona' => '',
|
// 'DKK - Danish Krona' => '',
|
||||||
|
// 'Remove user from group' => '',
|
||||||
);
|
);
|
||||||
|
|||||||
11
app/Template/group/user_dropdown.php
Normal file
11
app/Template/group/user_dropdown.php
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<div class="dropdown">
|
||||||
|
<a href="#" class="dropdown-menu dropdown-menu-link-icon"><strong>#<?= $user['id'] ?> <i class="fa fa-caret-down"></i></strong></a>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<?= $this->url->icon('user', t('View profile'), 'UserViewController', 'show', array('user_id' => $user['id'])) ?>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<?= $this->modal->medium('trash', t('Remove user from group'), 'GroupListController', 'dissociate', array('group_id' => $user['group_id'], 'user_id' => $user['id'])) ?>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
@@ -13,9 +13,20 @@
|
|||||||
<?= $this->render('user_list/header', array('paginator' => $paginator)) ?>
|
<?= $this->render('user_list/header', array('paginator' => $paginator)) ?>
|
||||||
<?php foreach ($paginator->getCollection() as $user): ?>
|
<?php foreach ($paginator->getCollection() as $user): ?>
|
||||||
<div class="table-list-row table-border-left">
|
<div class="table-list-row table-border-left">
|
||||||
<?= $this->render('user_list/user_title', array(
|
<div>
|
||||||
'user' => $user,
|
<?= $this->render('group/user_dropdown', array('user' => $user)) ?>
|
||||||
)) ?>
|
<span class="table-list-title <?= $user['is_active'] == 0 ? 'status-closed' : '' ?>">
|
||||||
|
<?= $this->avatar->small(
|
||||||
|
$user['id'],
|
||||||
|
$user['username'],
|
||||||
|
$user['name'],
|
||||||
|
$user['email'],
|
||||||
|
$user['avatar_path'],
|
||||||
|
'avatar-inline'
|
||||||
|
) ?>
|
||||||
|
<?= $this->url->link($this->text->e($user['name'] ?: $user['username']), 'UserViewController', 'show', array('user_id' => $user['id'])) ?>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?= $this->render('user_list/user_details', array(
|
<?= $this->render('user_list/user_details', array(
|
||||||
'user' => $user,
|
'user' => $user,
|
||||||
|
|||||||
Reference in New Issue
Block a user