-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enh: Move the widget wall entry links to a view and surround the link…
…s with a div having a dedicated class
- Loading branch information
1 parent
1d29740
commit 22ef4f8
Showing
5 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
use humhub\libs\Html; | ||
use humhub\modules\calendar\helpers\Url; | ||
use humhub\modules\calendar\interfaces\event\CalendarEventIF; | ||
use humhub\modules\ui\view\components\View; | ||
|
||
/** | ||
* @var $this View | ||
* @var $calendarEntry CalendarEventIF | ||
*/ | ||
?> | ||
|
||
<span class="calendar-entry-download-link"> | ||
<?= Html::a(Yii::t('CalendarModule.base', 'Download ICS'), Url::toEntryDownloadICS($calendarEntry), ['target' => '_blank']) ?> | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
use humhub\modules\calendar\helpers\Url; | ||
use humhub\modules\content\components\ContentActiveRecord; | ||
use humhub\modules\ui\view\components\View; | ||
use humhub\widgets\ModalButton; | ||
|
||
/** | ||
* @var $this View | ||
* @var $entry ContentActiveRecord | ||
*/ | ||
?> | ||
|
||
<span class="calendar-entry-reminder-link"> | ||
<?= ModalButton::asLink(Yii::t('CalendarModule.base', 'Set reminder'))->load(Url::toUserLevelReminderConfig($entry))->loader(true) ?> | ||
</span> |