Skip to content

Commit

Permalink
Show full datetime on project detail page
Browse files Browse the repository at this point in the history
  • Loading branch information
slomo committed Feb 17, 2017
1 parent e287aae commit 6ee74db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions euth/projects/templates/euth_projects/project_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
data-toggle="popover" data-html="true" data-trigger="hover" data-placement="auto top"
id="button-phase-{{ forloop.counter }}"
data-content="
<p class='small'>{{ phase.start_date|date:"SHORT_DATE_FORMAT" }} - {{ phase.end_date|date:"SHORT_DATE_FORMAT" }}</p>
<p class='small'>{{ phase.start_date|date:"SHORT_DATETIME_FORMAT" }} - {{ phase.end_date|date:"SHORT_DATETIME_FORMAT" }}</p>
<h4>{{ phase.name }}</h4>
"></div>
{% if not forloop.last and phases|length > 1 %}
Expand Down Expand Up @@ -77,10 +77,10 @@ <h2>{{ view.phase.name }}</h2>
{% if view.phase and not view.phase.is_over %}
<p>
<strong>{% trans 'Start Date' %}</strong>
{{ view.phase.start_date.date }}
{{ view.phase.start_date|date:'SHORT_DATETIME_FORMAT' }}
<br />
<strong>{% trans 'End Date' %}</strong>
{{ view.phase.end_date.date }}
{{ view.phase.end_date|date:'SHORT_DATETIME_FORMAT' }}
</p>
{% endif %}
<p class="idea-list-description">{{ view.phase.description }} </p>
Expand Down

0 comments on commit 6ee74db

Please sign in to comment.