Compare commits
2 commits
bfc5f6849f
...
e85ecfae16
Author | SHA1 | Date | |
---|---|---|---|
e85ecfae16 | |||
04429115cf |
5 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
1.1.0
|
||||||
|
|
||||||
|
* Do not display an empty groups selection.
|
||||||
|
|
||||||
1.0.0
|
1.0.0
|
||||||
|
|
||||||
* Improve the sorting of e-mails when creating/editing a group
|
* Improve the sorting of e-mails when creating/editing a group
|
||||||
|
|
|
@ -102,6 +102,8 @@ class MMFCustomersGroupsServiceProvider extends ServiceProvider {
|
||||||
// as the one that has been passed does not have a "groups" relationship.
|
// as the one that has been passed does not have a "groups" relationship.
|
||||||
$mailbox = Mailbox::find($mailbox->id);
|
$mailbox = Mailbox::find($mailbox->id);
|
||||||
$groups = $mailbox->groups;
|
$groups = $mailbox->groups;
|
||||||
|
// Do not add the groups selection space if no group is set.
|
||||||
|
if ( $groups->isEmpty() ) return;
|
||||||
echo View::make(
|
echo View::make(
|
||||||
'mmfcustomersgroups::conversations/partials/groups-selection',
|
'mmfcustomersgroups::conversations/partials/groups-selection',
|
||||||
[
|
[
|
||||||
|
|
|
@ -13,11 +13,11 @@ A groups is a list of customers, and selecting it when starting a conversation a
|
||||||
|
|
||||||
Download the [release tarball] and extract its content into `Modules/MMFCustomersGroups`.
|
Download the [release tarball] and extract its content into `Modules/MMFCustomersGroups`.
|
||||||
|
|
||||||
[release tarball]: https://port.numenaute.org/MMF/freescout-customers-groups/archive/1.0.0.tar.gz
|
[release tarball]: https://port.numenaute.org/MMF/freescout-customers-groups/archive/1.1.0.tar.gz
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://port.numenaute.org/MMF/freescout-customers-groups/archive/1.0.0.tar.gz -O freescout-customers-groups-1.0.0.tar.gz
|
wget https://port.numenaute.org/MMF/freescout-customers-groups/archive/1.1.0.tar.gz -O freescout-customers-groups-1.1.0.tar.gz
|
||||||
tar xf freescout-customers-groups-1.0.0.tar.gz -C Modules
|
tar xf freescout-customers-groups-1.1.0.tar.gz -C Modules
|
||||||
mv Modules/freescout-customers-groups Modules/MMFCustomersGroups
|
mv Modules/freescout-customers-groups Modules/MMFCustomersGroups
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "millions-missing-france/freescout-customers-groups",
|
"name": "millions-missing-france/freescout-customers-groups",
|
||||||
"description": "Freescout customers groups - Set groups of Freescout Customers for easier group emailing",
|
"description": "Freescout customers groups - Set groups of Freescout Customers for easier group emailing",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"license": ["AGPL-3.0-only"],
|
"license": ["AGPL-3.0-only"],
|
||||||
"authors": [
|
"authors": [
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "MMFCustomersGroups",
|
"name": "MMFCustomersGroups",
|
||||||
"alias": "mmfcustomersgroups",
|
"alias": "mmfcustomersgroups",
|
||||||
"description": "Freescout customers groups - Set groups of Freescout Customers for easier group emailing",
|
"description": "Freescout customers groups - Set groups of Freescout Customers for easier group emailing",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"detailsUrl": "",
|
"detailsUrl": "",
|
||||||
"author": "Millions Missing FRANCE",
|
"author": "Millions Missing FRANCE",
|
||||||
"authorUrl": "info@millionsmissing.fr",
|
"authorUrl": "info@millionsmissing.fr",
|
||||||
|
|
Loading…
Reference in a new issue