templates/index.html
changeset 125 d3cfceb8e120
parent 97 3699550991c6
child 139 56203661002a
equal deleted inserted replaced
124:6d92b7cd2a37 125:d3cfceb8e120
    53     {% endif %}
    53     {% endif %}
    54     
    54     
    55     {% if user.task_mentors.count %}
    55     {% if user.task_mentors.count %}
    56         <br><a href="/user/mentor/">Mentoring</a> {{ user.task_mentors.count }}
    56         <br><a href="/user/mentor/">Mentoring</a> {{ user.task_mentors.count }}
    57         {% ifnotequal user.task_mentors.count 1 %}
    57         {% ifnotequal user.task_mentors.count 1 %}
    58         tasks!
    58             tasks!
       
    59         {% else %}
       
    60             task!
    59         {% endifnotequal %}
    61         {% endifnotequal %}
    60         task!
    62         <br />
       
    63     {% endif %}
       
    64     
       
    65     {% if unpublished_tasks %}
       
    66     <br />Unpublished tasks:<br />
       
    67         {% for a_task in unpublished_tasks %}
       
    68             <a href="/task/view/tid={{a_task.id}}">{{a_task.title}}</a>&nbsp;&nbsp;&nbsp;
       
    69         {% endfor %}
    61     {% endif %}
    70     {% endif %}
    62 {% endblock %}
    71 {% endblock %}