From c3bcc127d02fc5356a482ecb3fd89b3299dc24d2 Mon Sep 17 00:00:00 2001 From: lesion Date: Tue, 11 Jun 2019 23:53:16 +0200 Subject: [PATCH] cleaning --- pages/about.vue | 15 --------------- pages/export.vue | 4 ---- pages/login.vue | 4 ---- server/emails/confirm/html.pug | 2 +- server/emails/event/html.pug | 6 ++++-- server/emails/register/subject.pug | 2 +- 6 files changed, 6 insertions(+), 27 deletions(-) diff --git a/pages/about.vue b/pages/about.vue index f0fd2b6d..f329b9f6 100644 --- a/pages/about.vue +++ b/pages/about.vue @@ -33,18 +33,3 @@ su underscore chicciola autistici.org - diff --git a/pages/export.vue b/pages/export.vue index c85b5dc2..926b32bb 100644 --- a/pages/export.vue +++ b/pages/export.vue @@ -90,10 +90,6 @@ export default { imgPath (event) { return event.image_path && event.image_path }, - close (done) { - this.$router.replace('/') - done() - } }, computed: { ...mapState(['filters', 'events']), diff --git a/pages/login.vue b/pages/login.vue index 82742265..54aa664f 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -35,7 +35,6 @@ export default { name: 'Login', data () { return { - open: true, password: '', email: '', loading: false @@ -48,9 +47,6 @@ export default { } }, methods: { - close () { - this.$router.replace('/') - }, ...mapActions(['login']), async forgot () { if (!this.email) { diff --git a/server/emails/confirm/html.pug b/server/emails/confirm/html.pug index 266f85d2..2563e554 100644 --- a/server/emails/confirm/html.pug +++ b/server/emails/confirm/html.pug @@ -1,4 +1,4 @@ p= t('email.confirm') hr -small #{config.baseurl} +a(href="#{config.baseurl}") #{config.title} - #{config.description} \ No newline at end of file diff --git a/server/emails/event/html.pug b/server/emails/event/html.pug index 7eb6e737..90666751 100644 --- a/server/emails/event/html.pug +++ b/server/emails/event/html.pug @@ -3,7 +3,7 @@ p Dove: #{event.place.name} - #{event.place.address} p Quando: #{datetime(event.start_datetime)} br if event.image_path - + p #{event.description} each tag in event.tags @@ -15,4 +15,6 @@ if to_confirm p Puoi confermare questo evento qui else p Puoi eliminare queste notifiche qui -#{config.title} - #{config.description} + +hr +a(href="#{config.baseurl}") #{config.title} - #{config.description} diff --git a/server/emails/register/subject.pug b/server/emails/register/subject.pug index f955ffa1..6a7be433 100644 --- a/server/emails/register/subject.pug +++ b/server/emails/register/subject.pug @@ -1 +1 @@ -| [Gancio] #{t('email.register.subject')} +| [#{config.title}] #{t('email.register.subject')}