<?php
echo $this->render('_header', ['component' => $component]);
?>
<div class="sx-box sx-mb-10 sx-p-10">
<p><?php
echo \Yii::t('app', 'This component may have personal preferences. And it works differently depending on which of the sites is displayed.');
?>
</p>
<p><?php
echo \Yii::t('app', 'In that case, if the site not has personal settings will be used the default settings.');
?>
</p>
<?php
if ($settings = \skeeks\cms\models\CmsComponentSettings::baseQuerySites($component)->count()) {
?>
<p><b><?php
echo \Yii::t('app', 'Number of customized sites');
?>
:</b> <?php
echo $settings;
?>
</p>
<button type="submit" class="btn btn-danger btn-xs" onclick="sx.ComponentSettings.Remove.removeSites(); return false;">
<i class="glyphicon glyphicon-remove"></i> <?php
echo \Yii::t('app', 'reset settings for all sites"');
?>
</button>
<small>.</small>
<?php