pfisjs/views/parishdb_person.jade

48 lines
1.6 KiB
Plaintext

.panel-body
fieldset
legend(style="font-size: 120%; font-weight: bold; margin-bottom: 2px;") Anschrift
p.
#{person.address.street} #{person.address.street_nr}<br>
#{person.address.plz} #{person.address.location}
if(person.emailaddresses.length > 0)
fieldset
legend(style="font-size: 120%; font-weight: bold; margin-bottom: 2px;") eMail-Adressen
table(style="width: 100%; margin-bottom: 2px;", class="table table-condensed")
thead
tr
th
span(style="color: grey; font-size: 80%;") Beschreibung
th
span(style="color: grey; font-size: 80%;") Adresse
th
each eadr in person.emailaddresses
tr
td(width="30%") #{eadr.description}
td(widht="70%") #{eadr.address}
if(person.phonenumbers.length > 0)
fieldset
legend(style="font-size: 120%; font-weight: bold; margin-bottom: 2px;") Erreichbarkeit per Telefon
table(style="width: 100%; margin-bottom: 2px;", class="table table-condensed")
thead
tr
th
span(style="color: grey; font-size: 80%;") Beschreibung
th
span(style="color: grey; font-size: 80%;") Nummer
th
each pn in person.phonenumbers
tr
td(width="30%") #{pn.description}
td(widht="70%") #{pn.number}
if(person.birthday.valid)
fieldset
legend(style="font-size: 120%; font-weight: bold; margin-bottom: 2px;") Geboren
p(style="margin-bottom: 0px;") #{person.birthday.date}
if(person.birthday.location.length > 0)
p(style="margin-bottom: 0px;") in #{person.birthday.location}
p(style="margin-bottom: 0px;") Gegenwärtiges Alter: #{person.birthday.age}