{% extends 'smn_oahpa.html' %} {% load i18n %} {% load cache %} {% get_current_language as LANGUAGE_CODE %} {% comment %} TODO: internationalization strings {% endcomment %} {% block imgprefix %}numra{% endblock %} {% block page_class %}fixed{% endblock %} {% block content %} {# Add blocktrans and trans tags #}

{% trans 'Welcome' %}, {{ user.username }}!

{% trans "You are a course instructor." %}

{# cache 300 courses user.username #} {% for course in courses %}

{{ course.identifier }} - {{ course.name }}

{% trans "Course content is available online" %}: {{ course.site_link }}


{% endfor %} {# endcache #}
{% endblock %} {# vim: set ts=4 sw=4 tw=0 syntax=htmldjango : #}