Skip to content

Commit

Permalink
Fixes for BS5
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-farre committed Jan 13, 2025
1 parent a45cf92 commit de5411d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion resources/js/humhub.mail.inbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ humhub.module('mail.inbox', function (module, require, $) {
ConversationList.prototype.initScroll = function() {
if (window.IntersectionObserver) {

var $streamEnd = $('<div class="inbox-stream-end"></div>');
var $streamEnd = $('<div class="inbox-stream-end stream-end"></div>');
this.$.append($streamEnd);

var that = this;
Expand Down
2 changes: 1 addition & 1 deletion resources/js/humhub.mail.messenger.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ humhub.module('mail.inbox', function (module, require, $) {
ConversationList.prototype.initScroll = function() {
if (window.IntersectionObserver) {

var $streamEnd = $('<div class="inbox-stream-end"></div>');
var $streamEnd = $('<div class="inbox-stream-end stream-end"></div>');
this.$.append($streamEnd);

var that = this;
Expand Down
2 changes: 1 addition & 1 deletion resources/js/humhub.mail.messenger.bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion views/mail/conversation.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<div class="panel-body">

<div class="hh-list conversation-entry-list">
<div class="conversation-entry-list">
<?= Messages::widget(['message' => $message]) ?>
</div>

Expand Down
20 changes: 12 additions & 8 deletions widgets/views/notificationInbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,25 @@
<li>
<div class="dropdown-header">
<div class="arrow"></div>
<h6><?= Yii::t('MailModule.base', 'Conversations') ?></h6>
<?= $canStartConversation
? NewMessageButton::widget(['id' => 'create-message-button', 'icon' => 'plus', 'label' => ''])
: '' ?>
<?= Yii::t('MailModule.base', 'Conversations') ?>
<div class="dropdown-header-actions">
<?= $canStartConversation
? NewMessageButton::widget(['id' => 'create-message-button', 'icon' => 'plus', 'label' => ''])
: '' ?>
</div>
</div>
</li>
<li>
<div class="dropdown-item">
<div class="dropdown-item hh-list">
<div id="loader_messages"></div>
</div>
</li>
<li>
<a class="dropdown-item btn btn-light col-lg-12" href="<?= Url::toMessenger() ?>">
<?= Yii::t('MailModule.base', 'Show all messages') ?>
</a>
<div class="dropdown-footer">
<a class="btn btn-light col-lg-12" href="<?= Url::toMessenger() ?>">
<?= Yii::t('MailModule.base', 'Show all messages') ?>
</a>
</div>
</li>
</ul>
</div>

0 comments on commit de5411d

Please sign in to comment.