From f4ec63f68ca57d075c962b0e2dbe72240f38f9bb Mon Sep 17 00:00:00 2001 From: Lucas Bartholemy Date: Sun, 12 Jul 2020 20:42:28 +0200 Subject: [PATCH] Enh: Added >Request a quote< option for non-free modules --- protected/humhub/docs/CHANGELOG_DEV.md | 1 + .../modules/marketplace/controllers/BrowseController.php | 3 --- protected/humhub/modules/marketplace/views/browse/_module.php | 3 +++ 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/protected/humhub/docs/CHANGELOG_DEV.md b/protected/humhub/docs/CHANGELOG_DEV.md index 2a3061de73..0921597008 100644 --- a/protected/humhub/docs/CHANGELOG_DEV.md +++ b/protected/humhub/docs/CHANGELOG_DEV.md @@ -18,3 +18,4 @@ HumHub Change Log - Enh: Added `humhub\modules\ui\form\widgets\JsInputWidget:emptyResult()` helper to manage render state of JsInputWidget - Enh: Added `humhub\modules\ui\form\widgets\JsInputWidget:field` in order to access ActiveField instances within JsInputWidget - Enh #4216: Added `humhub\modules\ui\filter\widgets\DropdownFilterInput` in order to support dropdown stream filters +- Enh: Added "Request a quote" option for non-free modules diff --git a/protected/humhub/modules/marketplace/controllers/BrowseController.php b/protected/humhub/modules/marketplace/controllers/BrowseController.php index ff26112a29..2853463880 100644 --- a/protected/humhub/modules/marketplace/controllers/BrowseController.php +++ b/protected/humhub/modules/marketplace/controllers/BrowseController.php @@ -10,9 +10,6 @@ namespace humhub\modules\marketplace\controllers; use humhub\modules\admin\components\Controller; use humhub\modules\marketplace\Module; use Yii; -use yii\base\ErrorException; -use yii\base\Exception; -use yii\base\InvalidConfigException; use yii\web\HttpException; /** diff --git a/protected/humhub/modules/marketplace/views/browse/_module.php b/protected/humhub/modules/marketplace/views/browse/_module.php index 44d4ce9103..a32226a460 100644 --- a/protected/humhub/modules/marketplace/views/browse/_module.php +++ b/protected/humhub/modules/marketplace/views/browse/_module.php @@ -72,6 +72,9 @@ $isProOnly = ($isProFeature && $licence->type !== Licence::LICENCE_TYPE_PRO); · Professional Edition', ['/admin/information'], ['style' => 'font-weight:bold']); ?> + + + · 'font-weight:bold', 'target' => '_blank']); ?> · $module['price_eur'] . '€']), $checkoutUrl, ['style' => 'font-weight:bold', 'target' => '_blank']); ?>