- Create Newsletter Page: MailingList (without the class style, using Gulp tasks)#94

- Add test Email button
This commit is contained in:
Paolo Arena
2019-11-21 00:19:42 +01:00
parent e089f23c0b
commit 895df43074
9 changed files with 165 additions and 14 deletions

View File

@@ -65,6 +65,8 @@ export const tools = {
],
TABEVENTS: 'myevents',
TABNEWSLETTER: 'newstosent',
TABMAILINGLIST: 'mailinglist',
MAX_CHARACTERS: 60,
projects: 'projects',
@@ -2644,11 +2646,16 @@ export const tools = {
getwidthscale(mythis, mywidth, maxwidth) {
if (this.isMobile()) {
if (mywidth > this.getwidth(mythis) - 20)
mywidth = this.getwidth(mythis) - 20
return mywidth
} else {
let myw = mywidth + ((this.getwidth(mythis) - mywidth) * 0.4)
if (myw > maxwidth)
myw = maxwidth
if (myw > this.getwidth(mythis) - 20)
myw = this.getwidth(mythis) - 20
return myw
}