aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users/profile.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/users/profile.html')
-rw-r--r--app/templates/users/profile.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/app/templates/users/profile.html b/app/templates/users/profile.html
index d2f5baa..37ee5df 100644
--- a/app/templates/users/profile.html
+++ b/app/templates/users/profile.html
@@ -64,6 +64,7 @@
| <a href="{{ user.website_url }}" rel="nofollow">Website</a>
{% endif %}
+
{% if user == current_user %}
<br>
<small class="text-muted">
@@ -73,6 +74,16 @@
{% endif %}
</td>
</tr>
+
+ {% if user == current_user and user.github_username %}
+ <tr>
+ <td>Privacy:</td>
+ <td>
+ <a href="{{ url_for('github.view_permissions') }}">View ContentDB's GitHub Permissions</a>
+ </td>
+ </tr>
+ {% endif %}
+
{% if current_user.is_authenticated and current_user.rank.atLeast(current_user.rank.MODERATOR) %}
<tr>
<td>Admin</td>
@@ -115,7 +126,7 @@
</a>
{% endif %}
</td>
- </tr>
+ </tr>
<tr>
<td>Password:</td>
<td>