Skip to content

Commit

Permalink
Show last name and first name explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschuppi81 committed Aug 30, 2024
1 parent b1cb2d8 commit e2214ab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/onegov/translator_directory/templates/translator.pt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
<div class="row">
<div class="columns small-12 translator-directory">
<tal:b tal:condition="model|nothing">
<dl class="field-display" tal:condition="model.last_name is not None">
<dt i18n:translate>Last name</dt>
<dd>${model.last_name.upper()}</dd>
</dl>
<dl class="field-display" tal:condition="model.first_name is not None">
<dt i18n:translate>First name</dt>
<dd>${model.first_name}</dd>
</dl>
<dl class="field-display" tal:condition="model.pers_id is not None and layout.show('pers_id')">
<dt i18n:translate>Personal ID</dt>
<dd>${model.pers_id}</dd>
Expand Down

0 comments on commit e2214ab

Please sign in to comment.