This commit is contained in:
resurtm
2017-01-11 22:42:15 +06:00
parent a3434504e6
commit 1cb60f0740
78 changed files with 354 additions and 290 deletions

View File

@ -18,7 +18,7 @@ use yii\helpers\Html;
* @var \Da\User\Model\User $user
*/
$this->title = Yii::t('user', 'Networks');
$this->title = Yii::t('usuario', 'Networks');
$this->params['breadcrumbs'][] = $this->title;
?>
@ -37,7 +37,7 @@ $this->params['breadcrumbs'][] = $this->title;
</div>
<div class="panel-body">
<div class="alert alert-info">
<p><?= Yii::t('user', 'You can connect multiple accounts to be able to log in using them') ?>.</p>
<p><?= Yii::t('usuario', 'You can connect multiple accounts to be able to log in using them') ?>.</p>
</div>
<?php $auth = ConnectWidget::begin(
[
@ -59,7 +59,7 @@ $this->params['breadcrumbs'][] = $this->title;
<td style="width: 120px">
<?= $auth->isConnected($client) ?
Html::a(
Yii::t('user', 'Disconnect'),
Yii::t('usuario', 'Disconnect'),
$auth->createClientUrl($client),
[
'class' => 'btn btn-danger btn-block',
@ -67,7 +67,7 @@ $this->params['breadcrumbs'][] = $this->title;
]
) :
Html::a(
Yii::t('user', 'Connect'),
Yii::t('usuario', 'Connect'),
$auth->createClientUrl($client),
[
'class' => 'btn btn-success btn-block',