Added new disclaimer text

This commit is contained in:
Lucas Bartholemy 2020-07-15 15:06:13 +02:00
parent b5e0330468
commit 1ca7f477d8
2 changed files with 16 additions and 5 deletions

View File

@ -43,10 +43,9 @@ $isProOnly = ($isProFeature && $licence->type !== Licence::LICENCE_TYPE_PRO);
style="font-size:12px;line-height:18px;background-color:#3F4B5A;color:white">
<?php if ($isProOnly): ?><i class="fa fa-lock"></i><?php endif; ?>
Professional Edition Feature
</span>
</span>
</a>
<?php endif; ?>
</h4>
<p><?= $module['description']; ?></p>
@ -93,8 +92,11 @@ $isProOnly = ($isProFeature && $licence->type !== Licence::LICENCE_TYPE_PRO);
'&nbsp;<i class="fa fa-external-link" aria-hidden="true"></i>'
, $module['marketplaceUrl'], ['target' => '_blank']); ?>
<?php if (!empty($module['showDisclaimer'])): ?>
<?php if (!empty($module['isThirdParty'])): ?>
&middot; <?= Html::a(Yii::t('MarketplaceModule.base', 'Third-party'), Url::to(['thirdparty-disclaimer']), ['data-target' => '#globalModal']); ?>
<a href="<?= Url::to(['thirdparty-disclaimer']) ?>" data-target="#globalModal">
- Community
</a>
<?php endif; ?>
</div>
</div>

View File

@ -8,12 +8,21 @@
</div>
<div class="modal-body">
<p>
<?= Yii::t('MarketplaceModule.base', 'The HumHub developers provide no support for third-party modules and neighter give any guarantee about the suitability, functionality or security of this module.'); ?>
<?= Yii::t('MarketplaceModule.base', 'This Module was developed by a third-party.'); ?>
<?= Yii::t('MarketplaceModule.base', 'The HumHub project does not guarantee the functionality, quality or the continuous development of this Module.'); ?>
</p>
<p>
<?= Yii::t('MarketplaceModule.base', 'Third-party Modules are not covered by Professional Edition agreements.'); ?>
</p>
<p>
<?= Yii::t('MarketplaceModule.base', 'If this Module is additionally marked as <strong>"Community"</strong> it is neither tested nor monitored by the HumHub project team.'); ?>
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal">
<?= Yii::t('MarketplaceModule.base', 'Ok'); ?>
<?= Yii::t('MarketplaceModule . base', 'Ok'); ?>
</button>
</div>
</div>