Compare commits

3 Commits
Author SHA1 Message Date
jlehmann 7f639bca49 new address 2025-05-14 06:30:42 +02:00
jlehmann 483d10799d disable ordering possibility 2024-05-24 14:37:31 +02:00
jlehmann 8e3721da89 set mail content type to utf-8 2024-05-04 13:19:12 +02:00
5 changed files with 9 additions and 32 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ func sendEmailAccu(username string, alias string, deveui string, accu_percent st
mail_message := "To: " + username + `
From: info@wo-bisch.ch
Subject: ` + level + ` - wo-bisch.ch: Akku Ladezustand (` + alias + `)
Content-Type: text/plain; charset="UTF-8"
Lieber Benutzer von wo-bisch.ch
@@ -38,12 +39,13 @@ func sendEmailAbo(username string, alias string, deveui string, days_left int, l
mail_message := "To: " + username + `
From: info@wo-bisch.ch
Subject: ` + level + ` - wo-bisch.ch: Abo verlaengern (` + alias + `)
Content-Type: text/plain; charset="UTF-8"
Lieber Benutzer von wo-bisch.ch
` + ablauftext + `
Bitte Abo verlaengern auf https://wo-bisch.ch
Bitte Abo verlängern auf https://wo-bisch.ch
Mit freundlichen Grüssen
--
+4 -2
View File
@@ -35,10 +35,11 @@ func sendEmailConfirm(username, confirm_id string) {
mail_message := "To: " + username + `
From: register@wo-bisch.ch
Subject: Passwortaenderung auf https://wo-bisch.ch, bitte bestaetigen
Content-Type: text/plain; charset="UTF-8"
Lieber Benutzer von wo-bisch.ch
Sie haben soeben eine Passwortaenderung veranlasst. Bitte klicken Sie folgenden Link,
Sie haben soeben eine Passwortänderung veranlasst. Bitte klicken Sie folgenden Link,
um das neue Passwort zu aktivieren:
https://wo-bisch.ch/confirm?id=` + confirm_id + `
@@ -76,10 +77,11 @@ func sendOrderEmail(username, body string) {
mail_message := "To: " + username + `
From: info@wo-bisch.ch
Subject: Bestelleingang auf https://wo-bisch.ch
Content-Type: text/plain; charset="UTF-8"
Lieber Administrator
Soeben ist eine Bestellung eingegangen, bitte pruefen:
Soeben ist eine Bestellung eingegangen, bitte prüfen:
` + body + `
+2 -2
View File
@@ -1,8 +1,8 @@
{{define "body_content"}}
<p class="title is-4">Kontakt</p>
<p>nbit Informatik GmbH<br />
Kirchweg 2<br />
3510 Konolfingen<br />
Untere Stockteile 16<br />
3806 B&ouml;nigen b. Interlaken<br />
<br />
+41 31 792 00 40<br />
<a href='&#109;ai&#108;&#116;o&#58;i&#37;6Ef&#111;&#64;%6Ebi&#116;&#46;%63h'>&#105;nfo&#64;nbit&#46;ch</a>
-21
View File
@@ -16,25 +16,4 @@ Hier sind Sie am richtigen Ort, wenn Sie einen kleinen, sparsamen <a href="/prod
<p class="pb-4">
Hier geht's zur <a href="/product.html">Produktbeschreibung</a>
</p>
{{ if ne .UserName "" }}
<p>
<strong>Ich will weitere bestellen!</strong>
<span class="icon"><i class="fa fa-arrow-right"></i></span>
Hier geht's zur <a href="/order.html">Bestellung</a>
</p>
{{ else }}
<div>
<p>
<strong>Ich will auch einen!</strong>
<span class="icon"><i class="fa fa-arrow-right"></i></span>
Hier geht's zur <a href="/order.html">Bestellung</a>
</p>
<p>&nbsp;</p>
<p class="pb-4">
<strong>Ich habe bereits einen (oder mehrere)</strong>
<span class="icon"><i class="fa fa-arrow-right"></i></span>
Hier geht's zum <a href="/login.html">Login</a>
</p>
</div>
{{end}}
{{end}}
-6
View File
@@ -46,12 +46,6 @@
<span>Kontakt</span>
</div>
</a>
<a class="navbar-item" href="/order.html">
<div style="position:relative">
<span class="icon"><i class="fa fa-shopping-cart"></i></span>
<span>Bestellen</span>
</div>
</a>
{{ if ne .UserName "" }}
<a class="navbar-item" href="/tracker.html">
<div style="position:relative">