{% extends "base.html" %} {% load djblets_deco %} {% load i18n %} {% load reviewtags %} {% block title %}{% trans "My Dashboard" %}{% endblock %} {% block extrahead %} {% endblock %} {% block css %} {% endblock %} {% block scripts-post %} {% endblock %} {% block content %} {% box "dashboard" %}
{% dashboard_entry "main-item" "Starred Reviews" "starred" %} {% dashboard_entry "main-item" "Outgoing Reviews" "outgoing" %} {% dashboard_entry "main-item" "Incoming Reviews" "incoming" %} {% dashboard_entry "sub-item" "To Me" "to-me" %} {% for g in user.review_groups.all %} {% dashboard_entry "sub-item" g.name "to-group" g %} {% endfor %} {% ifnotequal user.get_profile.starred_groups.count 0 %} {% dashboard_entry "main-item" "Watched Groups" "watched-groups" %} {% for g in user.get_profile.starred_groups.all %} {% dashboard_entry "sub-item" g.name "to-group" g %} {% endfor %} {% endifnotequal %} {% dashboard_entry "main-item" "All My Requests" "mine" %}
{{datagrid.render_listview}}
{% endbox %} {% endblock %}