From 62275639e381f7c342b88fe08a85d0c754e629a1 Mon Sep 17 00:00:00 2001 From: Peter Pfeufer Date: Thu, 1 Oct 2020 20:14:54 +0200 Subject: [PATCH] Added alliance and corp ticker to pilot name Takes care of https://gitlab.com/allianceauth/allianceauth/-/issues/1228 --- allianceauth/srp/templates/srp/data.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/allianceauth/srp/templates/srp/data.html b/allianceauth/srp/templates/srp/data.html index 79add9bb..9d6cb122 100644 --- a/allianceauth/srp/templates/srp/data.html +++ b/allianceauth/srp/templates/srp/data.html @@ -61,7 +61,7 @@ {% endif %} - + {% if srpfleetrequests %}
{% csrf_token %} @@ -104,7 +104,13 @@ ESC to cancel{% endblocktrans %}"id="blah"> {% for srpfleetrequest in srpfleetrequests %} - {{ srpfleetrequest.character.character_name }} + + {% if srpfleetrequest.character.alliance.alliance_ticker %} + {{ srpfleetrequest.character.alliance.alliance_ticker }} + {% endif %} + [{{ srpfleetrequest.character.corporation.corporation_ticker }}] + {{ srpfleetrequest.character.character_name }} + Link @@ -136,7 +142,7 @@ ESC to cancel{% endblocktrans %}"id="blah"> - + {% endif %} @@ -205,7 +211,7 @@ ESC to cancel{% endblocktrans %}"id="blah"> var $next = $(this).closest('tr').next().find('.editable'); setTimeout(function() { $next.editable('show'); - }, 400); + }, 400); } }); }); @@ -248,4 +254,4 @@ ESC to cancel{% endblocktrans %}"id="blah"> }); }); -{% endblock extra_script %} \ No newline at end of file +{% endblock extra_script %}