<%def name="online_help_token()"><% return "course" %> <%namespace name='static' file='static_content.html'/> <%! from django.utils.translation import ugettext as _ from django.core.urlresolvers import reverse from six import text_type from urlparse import urljoin %> <%page args="bundle" expression_filter="h"/>
<% images = [] orgs = [] for journal in bundle['journals']: images.append(journal.get('card_image_url', '')) orgs.append(journal.get('organization', '')) for course in bundle['courses']: if course.get('image'): images.append(course['image'].get('src', '')) orgs.append(course.get('partner', '')) card_img = next((img for img in images if img), '') organization = next((org for org in orgs if org), '') %>
${bundle.get('title')}
  • ${organization}
  • ${bundle.get('title')}