Parent: [f15b58] (diff)

Child: [ddf08c] (diff)

Download this file

project_screenshots.html    20 lines (16 with data), 680 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
{% extends g.theme.master %}
{% block title %}{{c.project.name}} / Screenshots{% endblock %}
{% block header %}Project Screenshots{% endblock %}
{% block content %}
{% if c.project.deleted %}
<div class="notice">This project has been deleted and is not visible to non-admin users</div>
{% endif %}
{{c.screenshot_list.display(edit=h.has_access(c.project, 'update')(),project=c.project)}}
{% if h.has_access(c.project, 'update')() %}
{% if c.project.get_screenshots().__len__() < 6 %}
{{c.screenshot_admin.display(action="add_screenshot")}}
{% else %}
<p>You may not have more than 6 screenshots.</p>
{% endif %}
{% endif %}
{% endblock %}