diff --git a/home/templates/home/user_profile.html b/home/templates/home/user_profile.html index b0db507..8d83a2a 100644 --- a/home/templates/home/user_profile.html +++ b/home/templates/home/user_profile.html @@ -59,54 +59,42 @@
Robot Name | +Score | +Time Set | +Media Link | +
---|---|---|---|
{{ entry.leaderboard.name }} | +{{ entry.score|default:"No Score" }} | +{{ entry.source|default:"N/A" }} | ++ {% if entry.score %} + {% if "youtube" in entry.source or "streamable" in entry.source %} + Video + {% else %} + {% if "https://i.imgur.com/bUUfB8c.png" not in entry.source %} + Image + {% endif %} + {% endif %} + {% else %} + N/A {% endif %} - {% endif %} - {% endif %} - - - {% endfor %} + | +