Skip to content

Commit

Permalink
Refund policy (#7)
Browse files Browse the repository at this point in the history
* add refund policy

* remove available merchants
  • Loading branch information
bladeroot authored and SilverFire committed Jul 10, 2018
1 parent a0e0e25 commit 19162b9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/controllers/SiteController.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public function actions()
$model = new BulkCheckForm(array_keys($zones));
$out = $this->getDomainPriceTableData();
$out['model'] = $model;
$out['availableMerchants'] = $this->getAvailableMerchants();

return $out;
},
Expand Down
1 change: 1 addition & 0 deletions src/messages/ru/hipanel:site:domain.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
'We accept the following automatic payment methods' => 'Мы принимаем к оплате в автоматическом режиме следующие платежные системы',
'Zone' => 'Доменные зоны',
'as well as PayPal payments from your Visa and MasterCard' => 'а также платежные карты Visa и MasterCard, процессинг которых осуществляется через PayPal.',
'Refund policy' => 'Политика возврата средств',
];
7 changes: 3 additions & 4 deletions src/views/themes/dataserv/site/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

use hipanel\modules\finance\widgets\AvailableMerchants;
use hipanel\site\widgets\DomainPriceTable;
use yii\helpers\Html;

/** @var array $availableMerchants */
$this->title = Yii::t('hipanel:site:domain', 'Domain names search and registration');
?>
<?php $this->beginBlock('subHeader') ?>
Expand Down Expand Up @@ -42,10 +42,9 @@
</div>
<div class="col-sm-6">
<p class="text-justify">
<?= Yii::t('hipanel:site:domain', 'We accept the following automatic payment methods') ?>:
<?= AvailableMerchants::widget(['merchants' => $availableMerchants]) ?>
<?= Yii::t('hipanel:site:domain', 'as well as PayPal payments from your Visa and MasterCard') ?>
<?= AvailableMerchants::widget() ?>
</p>
<p><?= Html::a(Yii::t('hipanel:site:domain', 'Refund policy'), ['@faq/index#tab-05-other'] ) ?></p>
</div>
</div>
</div>
8 changes: 4 additions & 4 deletions src/views/themes/sailor/site/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

use hipanel\modules\finance\widgets\AvailableMerchants;
use hipanel\site\widgets\DomainPriceTable;
use yii\helpers\Html;

/** @var array $availableMerchants */
$this->title = Yii::t('hipanel:site:domain', 'Domain names search and registration');
?>

Expand Down Expand Up @@ -59,10 +59,10 @@
<div class="text-center">
<h2><?= Yii::t('hipanel:site:domain', 'PAYMENT METHODS') ?></h2>
<p>
<?= Yii::t('hipanel:site:domain', 'We accept the following automatic payment methods') ?>:
<?= AvailableMerchants::widget(['merchants' => $availableMerchants]) ?>
<?= Yii::t('hipanel:site:domain', 'as well as PayPal payments from your Visa and MasterCard') ?>
<?= AvailableMerchants::widget() ?>
</p>

<p><?= Html::a(Yii::t('hipanel:site:domain', 'Refund policy'), ['@faq/index#tab-05-other'] ) ?></p>
</div>
</div>
</div>
Expand Down

0 comments on commit 19162b9

Please sign in to comment.