Skip to content

Commit

Permalink
fix(entries): make sure no output is present for multi-slot entries
Browse files Browse the repository at this point in the history
  • Loading branch information
zyv committed May 21, 2024
1 parent 7dbf07f commit 518811a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logbook/templates/logbook/logentry_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h1>Log entries</h1>
</td>
{% endfor %}
<td class="text-center">{{ obj.landings }}</td>
<td>{% if not obj.pilot.me %}{{ obj.pilot.first_name.0 }}. {{ obj.pilot.last_name }}{% else %}Self{% endif %}</td>
<td>{% if obj.pilot %}{% if not obj.pilot.me %}{{ obj.pilot.first_name.0 }}. {{ obj.pilot.last_name }}{% else %}Self{% endif %}{% endif %}</td>
{% for function_type in FunctionType %}
<td class="text-center">
{% if obj.time_function == function_type %}
Expand Down

0 comments on commit 518811a

Please sign in to comment.