Skip to content

Commit

Permalink
View completed #278
Browse files Browse the repository at this point in the history
  • Loading branch information
dbellettini committed Mar 28, 2013
1 parent 569fbb9 commit 3c68d2c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ school:
title: Scuola di %name%
url: 'Pagina ufficiale della scuola:'
courses: Corsi di laurea
nocourse: Nessun corso di laurea inserito.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,16 @@
<h1>{% trans with {'%name%': school.name} %}school.title{% endtrans %}</h1>
<p>{% trans %}school.url{% endtrans %} <a href="{{ school.url}}" target="_blank">{{school.url}}</a></p>
<h2>{% trans %}school.courses{% endtrans %}</h2>
{% if courses|length > 0 %}
<ul class="nav nav-pills nav-stacked">
{% for category, courselist in courses %}
<li class="nav-header">{{ category }}</li>
{% for course in courselist %}
<li><a href="{{ path('universibo_legacy_cdl', {id_canale: course.idCanale}) }}">{{ course.nome }}</a></li>
{% endfor %}
{% endfor %}
</ul>
{% else %}
<p>{% trans %}school.nocourse{% endtrans %}</p>
{% endif %}
{% endblock content %}

0 comments on commit 3c68d2c

Please sign in to comment.