equal
deleted
inserted
replaced
39 </button> |
39 </button> |
40 <a class="navbar-brand" href="/"><img class="logo" src="/static/images/PyMove3D.png" title="PyMove3D" alt="logo pymove3d" /></a> |
40 <a class="navbar-brand" href="/"><img class="logo" src="/static/images/PyMove3D.png" title="PyMove3D" alt="logo pymove3d" /></a> |
41 </div> |
41 </div> |
42 <div class="collapse navbar-collapse"> |
42 <div class="collapse navbar-collapse"> |
43 <ul class="nav navbar-nav navbar-right"> |
43 <ul class="nav navbar-nav navbar-right"> |
44 {% for href, caption in [('/competition', 'Competition'), |
44 {% for href, caption in get_topmenue(): %} |
45 ('/task', 'Task'), |
|
46 ('/submission', 'Submission'), |
|
47 ('/coursematerial', 'Coursematerial'), |
|
48 ]: |
|
49 %} |
|
50 {%- if href[1:] == act -%} |
45 {%- if href[1:] == act -%} |
51 <li class="active">{% else %} <li>{% endif %}<a href="{{ href }}" >{{ caption }}</a></li> |
46 <li class="active">{% else %} <li>{% endif %}<a href="{{ href }}" >{{ caption }}</a></li> |
52 {% endfor %} |
47 {% endfor %} |
53 <!-- ToDo add after translation finished |
48 <!-- ToDo add after translation finished |
54 <li class="module-language"><a class="link-yellow" href="./de">DE</a></li> |
49 <li class="module-language"><a class="link-yellow" href="./de">DE</a></li> |