Skip to content

Commit b553d9d

Browse files
author
waschtl
committed
Enh: remove add Task Button
1 parent d6065b7 commit b553d9d

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

widgets/views/taskHeader.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,11 @@
33
* @link https://www.humhub.org/
44
* @copyright Copyright (c) 2022 HumHub GmbH & Co. KG
55
* @license https://www.humhub.com/licences
6+
* @var string $addTaskUrl
67
*/
7-
8-
use humhub\widgets\Button;
9-
10-
/* @var string $addTaskUrl */
118
?>
129
<div class="panel panel-default task-list-header">
1310
<div class="panel-body clearfix">
14-
<?php if ($addTaskUrl) : ?>
15-
<?= Button::success(Yii::t('TasksModule.base', 'Add'))
16-
->action('ui.modal.load', $addTaskUrl)
17-
->icon('fa-plus')
18-
->right()
19-
->style('margin:0 0 20px 20px')
20-
->loader(false) ?>
21-
<?php endif; ?>
2211
<h4><?= Yii::t('TasksModule.base', 'Tasks') ?></h4>
2312
<div class="help-block"><?= Yii::t('TasksModule.base', 'Create and assign tasks - organize and schedule individual and collaborative projects.') ?></div>
2413
</div>

0 commit comments

Comments
 (0)