Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[b6dba6]: Allura / allura / templates / widgets / project_list_widget.html Maximize Restore History

Download this file

project_list_widget.html    26 lines (24 with data), 741 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class="list">
{% if not projects %}
<p>No projects found</p>
{% else %}
<div class="list">
{% set old_project = c.project %}
{% for project in projects %}
{% do g.set_project(project) %}
{% if h.has_access(project, 'read')() %}
{{project_summary.display(
value=project,
icon_url=icon_urls[project._id],
accolades=accolades_index[project._id],
sitemap=sitemaps[project._id],
display_mode=display_mode,
columns=columns,
show_proj_icon=show_proj_icon,
show_download_button=show_download_button)}}
{% endif %}
{% endfor %}
{% do g.set_project(old_project) %}
</div>
{% endif %}
</div>