Skip to content

Commit

Permalink
display mission start/end date if available
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalfox committed Feb 10, 2025
1 parent 82c6e7a commit e84c165
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/staffing/mission.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@ <h2 class="mt-2">
<tr>
<th>{% trans "Management mode" %}</th><td><div id="management_mode-{{ mission.id|unlocalize }}" style="display:inline" class='jeditable-mission-update'>{{ mission.get_management_mode_display }}</div></td>
</tr>
{% if mission.start_date %}
<tr>
<th>{% trans "Start date" %}</th><td>{{ mission.start_date }}</td>
</tr>
{% endif %}
{% if mission.end_date %}
<tr>
<th>{% trans "End date" %}</th><td>{{ mission.end_date }}</td>
</tr>
{% endif %}
<tr>
<th>{% trans "Probability" %}</th><td><div id="probability-{{ mission.id|unlocalize }}" style="display:inline" class='jeditable-mission-update'>{{ mission.probability }} %</div></td>
</tr>
Expand Down

0 comments on commit e84c165

Please sign in to comment.