change of the last borrowing user displayment to correctly change the encryption to have the unencryptet name
This commit is contained in:
+1
-1
@@ -4556,7 +4556,7 @@ def api_item_detail(item_id):
|
||||
<p><strong>Kategorie:</strong> {html.escape(str(item.get('library_category', '-')))}</p>
|
||||
<p><strong>Beschreibung:</strong> {html.escape(str(item.get('Beschreibung', '-')))}</p>
|
||||
<p><strong>Status:</strong> {html.escape(str(status_label))}</p>
|
||||
{f'<p><strong>Ausgeliehen von:</strong> {html.escape(str(borrower_value))}</p>' if borrower_value and status_label == 'Ausgeliehen' else ''}
|
||||
{f'<p><strong>Ausgeliehen von:</strong> {html.escape(str(decrypt_text(borrower_value)))}</p>' if borrower_value and status_label == 'Ausgeliehen' else ''}
|
||||
{borrows_html}
|
||||
"""
|
||||
ctx = get_tenant_context()
|
||||
|
||||
Reference in New Issue
Block a user