{% extends "sakai/base.html" %}{% load molly_sakai %}{% load i18n %} {% block content %} {% regroup polls by siteId as polls_by_siteId %} {% for poll_set in polls_by_siteId %}
{% trans "Question" %} | {% trans "Status" %} | |
---|---|---|
{{ poll.text }} | {% if poll.hasOpened %} {% blocktrans with poll.voteClose|timeuntil as timeuntilclose %}Closes in {{ timeuntilclose }}.{% endblocktrans %} {% else %} {% blocktrans with poll.voteOpen|timeuntil as time_until_open and poll.voteClose|timeuntil:poll.voteOpen as time_open %}Opens in {{ time_until_open }} for {{ time_open }}.{% endblocktrans %} {% endif %} |