diff --git a/sopy/templates/base.html b/sopy/templates/base.html index 90849c7..945aa97 100644 --- a/sopy/templates/base.html +++ b/sopy/templates/base.html @@ -1,3 +1,4 @@ +{% from 'user.html' import user_display -%} @@ -30,8 +31,8 @@ {% if current_user.anonymous %}
  • Log In
  • {% else %} - -
  • Log Out
  • + +
  • Log Out
  • {% endif %} diff --git a/sopy/templates/transcript/detail.html b/sopy/templates/transcript/detail.html index 3662697..7d1240f 100644 --- a/sopy/templates/transcript/detail.html +++ b/sopy/templates/transcript/detail.html @@ -1,4 +1,5 @@ {% extends 'transcript/base.html' %} +{% from 'user.html' import user_link %} {% block content %}
    @@ -17,8 +18,7 @@ {% for message in item.messages %}
      -
    • -
    • {{ message.user.display_name }}
    • +
    • {{ user_link(message.user) }}
    • {{ message.ts.strftime('%Y-%m-%d %H:%M') }}
    • {% if message.stars %}
    • {{ message.stars }}
    • {% endif %}
    diff --git a/sopy/templates/transcript/update.html b/sopy/templates/transcript/update.html index a83dfab..9fa3afc 100644 --- a/sopy/templates/transcript/update.html +++ b/sopy/templates/transcript/update.html @@ -1,4 +1,5 @@ {% extends 'transcript/base.html' %} +{% from 'user.html' import user_link %} {% set script_ace = True %} @@ -48,7 +49,7 @@