username truncation functionality added
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Disco DeDisco
2026-03-03 16:10:49 -05:00
parent 105b8f1e34
commit 1c894f8ae6
7 changed files with 19 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
{% load compress %}
{% load static %}
{% load lyric_extras %}
<!DOCTYPE html>
<html lang="en">
@@ -24,7 +25,7 @@
</a>
{% if user.email %}
<a class="navbar-link" href="{% url 'my_lists' user.id %}">My lists</a>
<span class="navbar-text">Logged in as {{ user.email }}</span>
<span class="navbar-text">Logged in as {{ user|display_name }}</span>
<form method="POST" action="{% url "logout" %}">
{% csrf_token %}
<button id="id_logout" class="btn btn-outline-secondary" type="submit">