~salgado/offspring/builder-details

« back to all changes in this revision

Viewing changes to lib/offspring/web/templates/queuemanager/projectgroup_details.html

  • Committer: Guilherme Salgado
  • Date: 2011-10-13 17:39:46 UTC
  • mfrom: (50.1.19 private-projects)
  • Revision ID: salgado@canonical.com-20111013173946-ehtanmjh0wdsp7k9
Add support for private projects on models of web.queuemanager

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
            <h3>Project</h3></td><td></td><td><h3>Last Build</h3></td><td width="30%"><h3>Date</h3></td><td width="15%"><h3>Result</h3>
33
33
        </td>
34
34
    </tr>
35
 
    {% for project in projectGroup.projects %}
 
35
    {% for project in projects %}
36
36
    <tr>
37
37
        <td>
38
38
            {% if project.needs_build %}<img src="/assets/images/33.png" title="Pending Build">{% else %}{% ifequal project.latest_build.result "FAILED" %}<img src="/assets/images/34.png" title="Build Failure">{% else %} {% ifequal project.latest_build.result "COMPLETED" %} <img src="/assets/images/35.png" title="Build Successful"> {% else %} <img src="/assets/images/36.png" title="Not yet built">{% endifequal %}{% endifequal %}{% endif %}</td><td> <a href="{% url offspring.web.queuemanager.views.project_details project.name %}">{{ project.title }}</a>