Fix #1683 #553: Added link to show/edit users awaiting admin approval

This commit is contained in:
Lucas Bartholemy 2019-02-07 15:24:36 +01:00
parent 749c424129
commit 5b3a08857a
2 changed files with 5 additions and 4 deletions

View File

@ -14,6 +14,7 @@ HumHub Change Log
- Fix: User soft deletion membership cache overwrite
- Fix #3422 Stream suppressed loading logic loads unnecessary stream entries
- Fix: "Back to home" button in registration broken with user approvals and guest mode activated
- Fix #1683 #553: Added link to show/edit users awaiting admin approval
1.3.8 (December 10, 2018)

View File

@ -24,16 +24,16 @@ use humhub\modules\user\grid\DisplayNameColumn;
'created_at',
[
'class' => 'yii\grid\ActionColumn',
'options' => ['width' => '150px'],
'options' => ['width' => '200px'],
'buttons' => [
'view' => function() {
return;
'view' => function($url, $model) {
return Html::a('Edit', Url::to(['/admin/user/edit', 'id' => $model->id]), ['class' => 'btn btn-default btn-sm', 'data-ui-loader' => '']);
},
'delete' => function($url, $model) {
return Html::a('Decline', Url::to(['decline', 'id' => $model->id]), ['class' => 'btn btn-danger btn-sm', 'data-ui-loader' => '']);
},
'update' => function($url, $model) {
return Html::a('Approve', Url::to(['approve', 'id' => $model->id]), ['class' => 'btn btn-primary btn-sm', 'data-ui-loader' => '']);
return Html::a('Approve', Url::to(['approve', 'id' => $model->id]), ['class' => 'btn btn-success btn-sm', 'data-ui-loader' => '']);
},
],
],