Skip to content

Commit

Permalink
Update target.html
Browse files Browse the repository at this point in the history
move the title to the cell text, also ensure we display something meaningful if we don't have the information on destination

resolves: Kivou-2000607#570
  • Loading branch information
Swiftkilla123 committed Apr 9, 2024
1 parent 6c58e28 commit 45d306e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/faction/war/target.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load i18n %}
{% comment %}
Copyright 2019 [email protected]

Expand Down Expand Up @@ -49,7 +50,7 @@
{% if target.status_color == "blue" %}
<td class='text-start player-status-{{target.status_color}}' title="{% if target.status_details %}{{target.status_details|cleanhtml}}{% endif %}" data-val="">{{target.status_description}}</td>
{% else %}
<td class='text-start status player-status-{{target.status_color}}' title="{% if target.status_details %}{{target.status_details|cleanhtml}}{% endif %}" data-val="{{target.status_until}}">{{target.status_description}}</td>
<td class='text-start status player-status-{{target.status_color}}' title="{% if target.status_details %}{{target.status_details|cleanhtml}}{% else %}{% trans 'Destination unavailable at this time' %}{% endif %}" data-val="{{target.status_until}}">{% if target.status_details %}{{target.status_details|cleanhtml}}{% else %}{{target.status_description}}{% endif %}</td>
{% endif %}
<td class="text-center update-timer" title="Last update on {{target.update_timestamp|ts2date}}" data-val="{{target.update_timestamp}}"><i class="fa fa-spinner fa-pulse"></i></td>

Expand Down

0 comments on commit 45d306e

Please sign in to comment.