Skip to content

Commit ed73e54

Browse files
committed
Modals Unification Mail - P1 Buttons
This is a part of a larger task aimed at unifying Modals. The first step, which involves unifying button positions, has been completed to enhance the user experience. #408 #409 #410 Issue tracker humhub/team_tasks#336 Project https://github.com/orgs/humhub/projects/31
1 parent 859ed51 commit ed73e54

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

docs/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Changelog
22
=========
33

4+
3.2.3 (Unreleased)
5+
--------------------
6+
- Enh #408: Implement provider for meta searching
7+
48
3.2.2 (July 9, 2024)
59
--------------------
610
- Enh #382: Implement provider for meta searching

module.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"messenger",
99
"communication"
1010
],
11-
"version": "3.2.2",
11+
"version": "3.2.3",
1212
"humhub": {
1313
"minVersion": "1.16"
1414
},

views/mail/create.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
</div>
7878
<div class="modal-footer">
7979

80-
<?= ModalButton::submitModal(Url::toCreateConversation(), Yii::t('MailModule.views_mail_create', 'Send')) ?>
8180
<?= ModalButton::cancel() ?>
81+
<?= ModalButton::submitModal(Url::toCreateConversation(), Yii::t('MailModule.views_mail_create', 'Send')) ?>
8282

8383
</div>
8484

views/mail/editEntry.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@
5959
<div class="row">
6060
<div class="col-md-3"></div>
6161
<div class="col-md-6">
62-
<?= Button::save(Yii::t('base', 'Save'))->submit()->action('mail.conversation.submitEditEntry')->options(['data-entry-id' => $entry->id]) ?>
62+
6363
<?= ModalButton::cancel() ?>
64+
<?= Button::save(Yii::t('base', 'Save'))->submit()->action('mail.conversation.submitEditEntry')->options(['data-entry-id' => $entry->id]) ?>
65+
6466
</div>
6567
<div class="col-md-3">
6668
<?= Button::danger(Yii::t('base', 'Delete'))->right()->options(['data-entry-id' => $entry->id])

views/tag/editConversationTagsModal.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424
<?= $form->field($model, 'tags')->widget(ConversationTagPicker::class)->label(false) ?>
2525
</div>
2626
<div class="modal-footer">
27-
<?= ModalButton::submitModal(Url::toEditConversationTags($model->message)) ?>
27+
2828
<?= ModalButton::cancel() ?>
29+
<?= ModalButton::submitModal(Url::toEditConversationTags($model->message)) ?>
30+
2931
</div>
3032
<?php ActiveForm::end() ?>
3133
<?php ModalDialog::end() ?>

0 commit comments

Comments
 (0)