aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-03-19 18:08:41 +0000
committerrubenwardy <rw@rubenwardy.com>2018-03-19 18:08:41 +0000
commit358fc4e5da67d5ebbb667d6bcafba7c7fa83ca97 (patch)
tree1a61b188daee7f582dcbad27b6592c11e2d51cef /app/templates/users
parent84f123a0ab529ac8a649e0e0ca4a49fd0c828db3 (diff)
downloadcheatdb-358fc4e5da67d5ebbb667d6bcafba7c7fa83ca97.tar.xz
Add package list and package view
Diffstat (limited to 'app/templates/users')
-rw-r--r--app/templates/users/user_profile_page.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/templates/users/user_profile_page.html b/app/templates/users/user_profile_page.html
index 0eb6adb..33526de 100644
--- a/app/templates/users/user_profile_page.html
+++ b/app/templates/users/user_profile_page.html
@@ -20,7 +20,11 @@
{% elif user == current_user %}
<a href="">Link Forums Account</a>
{% endif %}
- |
+
+ {% if (user.forums_username and user.github_username) or user == current_user %}
+ |
+ {% endif %}
+
{% if user.github_username %}
<a href="https://github.com/{{ user.github_username }}">GitHub</a>
{% elif user == current_user %}