Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #934 from akatsoulas/1100802
Browse files Browse the repository at this point in the history
[bug 1100802] Check if date_left_program exists in profile view template.
  • Loading branch information
akatsoulas committed Feb 13, 2015
2 parents f1de77b + d6c88e2 commit 13bc275
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion remo/profiles/templates/profiles_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ <h2 class="grayed">
<p>
This Rep has been part of the program from
{{ user_profile.date_joined_program.strftime('%d %B %Y') }}
to {{ user_profile.date_left_program.strftime('%d %B %Y') }}
{% if user_profile.date_left_program %}
to {{ user_profile.date_left_program.strftime('%d %B %Y') }}
{% endif %}
</p>
</p>
</div>
Expand Down

0 comments on commit 13bc275

Please sign in to comment.