]> git.lizzy.rs Git - cheatdb.git/blobdiff - app/templates/users/profile.html
Add links to GitHub oauth connection settings
[cheatdb.git] / app / templates / users / profile.html
index d2f5baa254ba720c34e44ece98df0d8cc5ce994f..37ee5df0b99b1b39b1870502c62a70f01eea1c81 100644 (file)
@@ -64,6 +64,7 @@
                                                                        | <a href="{{ user.website_url }}" rel="nofollow">Website</a>
                                                                {% endif %}
 
+
                                                                {% if user == current_user %}
                                                                        <br>
                                                                        <small class="text-muted">
                                                                {% 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>
                                                                                </a>
                                                                        {% endif %}
                                                                </td>
-                                                       </tr>
+                                               </tr>
                                                        <tr>
                                                                <td>Password:</td>
                                                                <td>