Files
edx-platform/lms/templates/static_templates/press.html
2013-08-05 11:24:25 -04:00

43 lines
1.4 KiB
HTML

<%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../static_content.html'/>
<%inherit file="../main.html" />
<%block name="title"><title>${_("{edX} in the Press").format(edX="edX")}</title></%block>
<section class="container about">
<nav>
<a href="${reverse('about_edx')}">${_("Vision")}</a>
<a href="${reverse('faq_edx')}">${_("Faq")}</a>
<a href="${reverse('press')}" class="active">${_("Press")}</a>
<a href="${reverse('contact')}">${_("Contact")}</a>
</nav>
<section class="press">
% for article in articles:
<article class="press-story">
<div class="article-cover">
<a href="${article.url}" target="_blank"/>
<img src="${static.url('images/press/' + article.image)}" />
</a>
</div>
<div class="press-info">
<header>
<h3>${article.title}</h3>
% if article.deck:
<p>${article.deck}</p>
% endif
<span class="post-date">${article.publication} | ${article.publish_date}
% if article.author:
| By ${article.author}
% endif
</span><br/>
</header>
<a href="${article.url}" target="_blank">${article.url}</a>
</div>
</article>
% endfor
</section>
</section>