Skip to content

Commit

Permalink
feat #3168 Display start and end dates on affiliations
Browse files Browse the repository at this point in the history
  • Loading branch information
joemull committed Jan 24, 2025
1 parent 93b05fc commit 4272462
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/templates/admin/core/affiliation_display.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
{% else %}
{{ affiliation.organization }}
{% endif %}
{% if affiliation.start or affiliation.end %}
<span>({{ affiliation.start|date:"M Y" }}&ndash;{{ affiliation.end|date:"M Y" }})</span>
{% endif %}
{% if affiliation.is_primary %}
<span class="label secondary">
Primary
Expand Down

0 comments on commit 4272462

Please sign in to comment.