diff options
author | Prabhu Ramachandran | 2017-10-05 12:10:54 +0530 |
---|---|---|
committer | GitHub | 2017-10-05 12:10:54 +0530 |
commit | 52bb77f0afeec8233702dd854e5a2aa81b89855d (patch) | |
tree | b00ccdfe0981b97c78349038f88667d3e1fe51ca /yaksh/templates/user.html | |
parent | e79193180be5508c191a3401b018ff93c77791e5 (diff) | |
parent | 019a428295a52a7d5f1862ba5d0bda10dcea55a1 (diff) | |
download | online_test-52bb77f0afeec8233702dd854e5a2aa81b89855d.tar.gz online_test-52bb77f0afeec8233702dd854e5a2aa81b89855d.tar.bz2 online_test-52bb77f0afeec8233702dd854e5a2aa81b89855d.zip |
Merge pull request #342 from adityacp/show_user_info
Show user info
Diffstat (limited to 'yaksh/templates/user.html')
-rw-r--r-- | yaksh/templates/user.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html index b068fae..83aea13 100644 --- a/yaksh/templates/user.html +++ b/yaksh/templates/user.html @@ -40,3 +40,8 @@ </div> </div> {% endblock %} +{% if user %} + {% block info %} + <h5>{{user.get_full_name|title}}({{user.profile.roll_number}}) Logged in as {{user.username}}</h5> + {% endblock %} +{% endif %} |