Show reply-to mail address in faq instead of sending mail address (if available) #48
3 changed files with 12 additions and 2 deletions
|
|
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.6.1]
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- Show Reply-To mail address in FAQ
|
||||||
|
|
||||||
## [0.6.0]
|
## [0.6.0]
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
url_base_path = "jobbörse"
|
url_base_path = "jobbörse"
|
||||||
banner = "Hinweis: Die Jobbörse wird aktuall noch evaluiert und befindet sich noch nicht im produktiven Betrieb!"
|
banner = "Hinweis: Die Jobbörse wird aktuall noch evaluiert und befindet sich noch nicht im produktiven Betrieb!"
|
||||||
webhook_url="https://discord.com/api/webhooks/1188255966655946854/UgX-gtkThowrhk4kFdzVc46V5YfAUc_In5U6Ez5YvZhMKKJWCFLjdtBlTJ0nL--kt3GI?wait=true"
|
webhook_url="https://discord.com/api/webhooks/1188899949044310178/jVHXEjJriU4joG0ZNGA5J0n04U0qvpQtvgLQ1B_BR_BZoCTvpcmfqUrQh4dw11m5Bo8g?wait=true"
|
||||||
|
|
||||||
[login_provider]
|
[login_provider]
|
||||||
type = 'Development'
|
type = 'Development'
|
||||||
|
|
||||||
[email]
|
[email]
|
||||||
from = "Test-Jobbörse <jobs@localhost>"
|
from = "Test-Jobbörse <jobs@localhost>"
|
||||||
|
receive = "Receive-Jobbörse <sendtothismail@localhost>"
|
||||||
subject = "Test"
|
subject = "Test"
|
||||||
|
|
||||||
# [[header_links]]
|
# [[header_links]]
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,10 @@ pub(crate) async fn faq(
|
||||||
.config
|
.config
|
||||||
.email
|
.email
|
||||||
.as_ref()
|
.as_ref()
|
||||||
.map(|econf| econf.from.email.to_string());
|
.map(|econf| match &econf.receive {
|
||||||
|
Some(recv) => recv.email.to_string(),
|
||||||
|
None => econf.from.email.to_string(),
|
||||||
|
});
|
||||||
|
|
||||||
let data = json!({
|
let data = json!({
|
||||||
"base": base_data,
|
"base": base_data,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue