Improved files to distinguish subtypes (allows multiple different files tabs at a entity)
Attachments via the improved files Block thumbnails at mosaico templates as a separate files tab Some fixes All not tested yet
This commit is contained in:
parent
ade0fc87f2
commit
32cad03f4f
32 changed files with 683 additions and 346 deletions
14
client/src/campaigns/helpers.js
Normal file
14
client/src/campaigns/helpers.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
import {CampaignType} from "../../../shared/campaigns";
|
||||
|
||||
export function getCampaignTypeLabels(t) {
|
||||
|
||||
const campaignTypeLabels = {
|
||||
[CampaignType.REGULAR]: t('Regular'),
|
||||
[CampaignType.TRIGGERED]: t('Triggered'),
|
||||
[CampaignType.RSS]: t('RSS')
|
||||
};
|
||||
|
||||
return campaignTypeLabels;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue