legacy-dotfiles/templates/projects/project_detail.html
2011-10-17 01:34:04 +02:00

52 lines
1 KiB
HTML

<!-- -*- Mode: django-html-mumamo -*- -->
{% extends "projects/base.html" %}
{% block subtitle %}
projects/{{ object.name }}
{% endblock %}
{% block content %}
<div class="container">
<div class="header">
<span class="title">{{ object.name }}</span>
<span class="tagline">{{ object.tagline }}</span>
</div>
<p>
{% autoescape off %}
{{ object.description|linebreaksbr }}
{% endautoescape %}
</p>
</div>
<div class="container">
<div class="header">
<span class="title">Stats</title>
</div>
{% for key, value in stats.items %}
{% if value %}
{{ key }}: {{ value }}<br/>
{% endif %}
{% endfor %}
</div>
<div class="container">
<div class="header">
<span class="title">Links</title>
</div>
{% for key, value in links.items %}
{% if value %}
<a href="{{ value }}">{{ key }}</a><br/>
{% endif %}
{% endfor %}
</div>
{% if object.screenshots %}
<p>
Screenshots here
</p>
{% endif %}
{% endblock %}