Document: Add mailto: and http: hrefs to footer
This commit is contained in:
@ -68,4 +68,9 @@ hr.page-break {
|
|||||||
.page::after {
|
.page::after {
|
||||||
content: "Seite " counter(page) " von " counter(pages) !important;
|
content: "Seite " counter(page) " von " counter(pages) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: inherit;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,9 @@ namespace Elwig.Documents {
|
|||||||
Footer = Utils.GenerateFooter("<br/>", " \u00b7 ")
|
Footer = Utils.GenerateFooter("<br/>", " \u00b7 ")
|
||||||
.Item(c.NameFull).NextLine()
|
.Item(c.NameFull).NextLine()
|
||||||
.Item(c.Address).Item($"{c.Plz} {c.Ort}").Item("Österreich").Item("Tel.", c.PhoneNr).Item("Fax", c.FaxNr).NextLine()
|
.Item(c.Address).Item($"{c.Plz} {c.Ort}").Item("Österreich").Item("Tel.", c.PhoneNr).Item("Fax", c.FaxNr).NextLine()
|
||||||
.Item(c.EmailAddress).Item(c.Website).Item("Betriebs-Nr.", c.LfbisNr).Item("UID", c.UstIdNr).NextLine()
|
.Item(c.EmailAddress != null ? $"<a href=\"mailto:{c.Name} {c.NameSuffix} <{c.EmailAddress}>\">{c.EmailAddress}</a>" : null)
|
||||||
|
.Item(c.Website != null ? $"<a href=\"http://{c.Website}/\">{c.Website}</a>" : null)
|
||||||
|
.Item("Betriebs-Nr.", c.LfbisNr).Item("UID", c.UstIdNr).NextLine()
|
||||||
.Item("BIC", c.Bic).Item("IBAN", c.Iban)
|
.Item("BIC", c.Bic).Item("IBAN", c.Iban)
|
||||||
.ToString();
|
.ToString();
|
||||||
Date = DateTime.Today;
|
Date = DateTime.Today;
|
||||||
|
Reference in New Issue
Block a user