<%! from django.utils.translation import ugettext as _ %> <%! from util.date_utils import get_default_time_display %> <div class="folditbasic"> <p><strong>${_("Due:")}</strong> ${get_default_time_display(due)} <p> <strong>${_("Status:")}</strong> % if success: ${_('You have successfully gotten to level {goal_level}.').format(goal_level=goal_level)}' % else: ${_('You have not yet gotten to level {goal_level}.').format(goal_level=goal_level)} % endif </p> <h3>${_("Completed puzzles")}</h3> <table> <tr> <th>${_("Level")}</th> <th>${_("Submitted")}</th> </tr> % for puzzle in completed: <tr> <td>${'{0}-{1}'.format(puzzle['set'], puzzle['subset'])}</td> <td>${puzzle['created'].strftime('%Y-%m-%d %H:%M')}</td> </tr> % endfor </table> </br> </div>