* * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ use Da\User\Widget\ConnectWidget; use yii\helpers\Html; /* * @var yii\web\View $this * @var yii\widgets\ActiveForm $form * @var \Da\User\Model\User $user */ $this->title = Yii::t('usuario', 'Networks'); $this->params['breadcrumbs'][] = $this->title; ?>
= $this->render('/shared/_alert', ['module' => Yii::$app->getModule('user')]) ?>= Yii::t('usuario', 'You can connect multiple accounts to be able to log in using them') ?>.
| = Html::tag('span', '', ['class' => 'auth-icon '.$client->getName()]) ?> | = $client->getTitle() ?> | = $auth->isConnected($client) ? Html::a( Yii::t('usuario', 'Disconnect'), $auth->createClientUrl($client), [ 'class' => 'btn btn-danger btn-block', 'data-method' => 'post', ] ) : Html::a( Yii::t('usuario', 'Connect'), $auth->createClientUrl($client), [ 'class' => 'btn btn-success btn-block', ] ) ?> |