diff options
Diffstat (limited to 'patchwork/templates/patchwork/projects.html')
-rw-r--r-- | patchwork/templates/patchwork/projects.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/patchwork/templates/patchwork/projects.html b/patchwork/templates/patchwork/projects.html new file mode 100644 index 0000000..8c727ad --- /dev/null +++ b/patchwork/templates/patchwork/projects.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} + +{% block title %}Project List{% endblock %} +{% block heading %}Project List{% endblock %} + +{% block body %} + +{% if projects %} + <div class="project-set"> + {% for p in projects %} + <div class="project"> + <h2 class="project-title"> + <a href="{% url 'patchwork.views.patch.list' project_id=p.linkname %}" + >{{p.linkname}}</a> + </h2> + <div class="project-name">{{p.name}}</div> +{% if p.web_url %} + <div class="project-url"><a href="{{p.web_url}}">website</a></div> +{% endif %} + </div> + {% endfor %} + </div> +{% else %} + <p>Patchwork doesn't have any projects to display!</p> +{% endif %} + +{% endblock %} |