diff --git a/website/templates/_bug.html b/website/templates/_bug.html new file mode 100644 index 000000000..04b1ce4af --- /dev/null +++ b/website/templates/_bug.html @@ -0,0 +1,57 @@ +{% load gravatar %} +{% load static %} + +
+
+ {% if bug.user.userprofile.avatar %} + + {% elif bug.user.socialaccount_set.all.0.get_avatar_url %} + + {% elif bug.user.email %} + + {% else %} + + {% endif %} + {{bug.user}} +
+ {{bug.get_label_display}} +
+
+
+ {{bug.description}} +
+
+ {% for bug_key, bug_screenshots in bugs_screenshots.items %} + {% if bug == bug_key%} + {% for bug_screenshot in bug_screenshots %} + + {% endfor %} + {% endif %} + {% endfor %} +
+
+ + + + + + + + + + + + + + + + + + + + + +
+
\ No newline at end of file diff --git a/website/templates/includes/sidenav.html b/website/templates/includes/sidenav.html index ac8c698b1..e92179c7d 100644 --- a/website/templates/includes/sidenav.html +++ b/website/templates/includes/sidenav.html @@ -16,7 +16,7 @@