templates/task/view.html
changeset 171 8f31ed9817fa
parent 167 b61e45074ba1
child 176 13ceb76fd0a3
equal deleted inserted replaced
170:d69a562f969d 171:8f31ed9817fa
    46         <br />
    46         <br />
    47         
    47         
    48         <hr />
    48         <hr />
    49         <b>Description:</b><br />
    49         <b>Description:</b><br />
    50         {{ task.desc|linebreaksbr }}
    50         {{ task.desc|linebreaksbr }}
    51         <hr />
    51         <br /><br /><hr />
       
    52         {% if task.tags.count %}
       
    53             Tags: 
       
    54             {% for tag in task.tags %}
       
    55                 tag
       
    56             {% endfor %}
       
    57             <hr />
       
    58         {% endif %}
    52 
    59 
    53         {% if deps %}
    60         {% if deps %}
    54         
    61         
    55             <br />The task has following dependencies.<br />
    62             <br />The task has following dependencies.<br />
    56             {% for dep in deps %}
    63             {% for dep in deps %}
    63             {% endif %}
    70             {% endif %}
    64             
    71             
    65         {% else %}
    72         {% else %}
    66         
    73         
    67             {% if subs %}
    74             {% if subs %}
    68                 This task cannot be claimed.. It exists only to show all of its sub tasks in one place.<br />
       
    69                 The task has following sub tasks.<br />
    75                 The task has following sub tasks.<br />
    70                 {% for sub in subs %}
    76                 {% for sub in subs %}
    71                     <a href="/task/view/tid={{sub.id}}">{{sub.title}}</a><br />
    77                     <a href="/task/view/tid={{sub.id}}">{{sub.title}}</a><br />
    72                 {% endfor %}
    78                 {% endfor %}
    73                 
    79                 
    98         {% endifequal %}
   104         {% endifequal %}
    99             
   105             
   100         {% ifequal task.status "OP" %}
   106         {% ifequal task.status "OP" %}
   101             <br />There are no users working on this task.<br />
   107             <br />There are no users working on this task.<br />
   102         {% endifequal %}
   108         {% endifequal %}
       
   109         
       
   110         {% if subs %}
       
   111             <br />This task cannot be claimed.. It exists only to show all of its sub tasks in one place.<br />
       
   112         {% endif %}
   103             
   113             
   104         {% if assigned_users %}
   114         {% if assigned_users %}
   105             Users working on this task:
   115             Users working on this task:
   106             {% for user in assigned_users %}
   116             {% for user in assigned_users %}
   107                 <a href="/user/view/uid={{user.id}}">{{user.username}}</a>
   117                 <a href="/user/view/uid={{user.id}}">{{user.username}}</a>