Merge pull request #151 from jianyuan/add-email-to-company
Add email link to company page
This commit is contained in:
commit
741dc687c6
@ -36,6 +36,11 @@ component CompanyPage(company *arn.Company, studioAnime, producedAnime, licensed
|
|||||||
else
|
else
|
||||||
Icon("external-link")
|
Icon("external-link")
|
||||||
span= link.Title
|
span= link.Title
|
||||||
|
|
||||||
|
if company.Email != ""
|
||||||
|
a.light-button.mountable(href="mailto:" + company.Email, data-mountable-type="company-link")
|
||||||
|
Icon("envelope")
|
||||||
|
span Email
|
||||||
|
|
||||||
a.light-button.mountable(href="/api" + company.Link(), target="_blank", data-mountable-type="company-link")
|
a.light-button.mountable(href="/api" + company.Link(), target="_blank", data-mountable-type="company-link")
|
||||||
Icon("code")
|
Icon("code")
|
||||||
|
Loading…
Reference in New Issue
Block a user