Parent: [591c74] (diff)

Child: [8ab690] (diff)

Download this file

nav_menu.html    18 lines (18 with data), 504 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{% if not c.project %}
<div id="nav_menu_missing"></div>
{% else %}
<a href="{{c.project.url()}}">
{% if c.project.icon %}
<img src="{{c.project.url()}}/icon" class="project_icon"/>
{% else %}
<img src="{{g.forge_static('images/project_default.png')}}" class="project_icon"/>
{% endif %}
<h1>
{% if c.project.shortname.endswith('--init--') %}
{{c.project.neighborhood.name}}
{% else %}
{{c.project.name}}
{% endif %}
</h1>
</a>
{% endif %}