<%namespace name='static' file='static_content.html'/>
<%!
    from django.core.urlresolvers import reverse
%>
<%page args="course" />

<article id="${course.id}"class="course">
  <div class="inner-wrapper">
    <header class="course-preview">
        <a href="${reverse('about_course', args=[course.id])}">
        <hgroup>
          <h2>${course.number} ${course.get_about_section('title')}</h2>
        </hgroup>
        <div class="info-link">&#x2794;</div>
      </a>
    </header>
    <section class="info">
      <div class="cover-image">
        <img src="${static.url('images/courses/history.png')}">
      </div>
      <div class="desc">
        <p>${course.get_about_section('short_description')}</p>
      </div>
      <div class="bottom">
        <a href="#" class="university">${course.get_about_section('university')}</a>
        <span class="start-date">7/23/12</span>
      </div>
    </section>
  </div>
  <div class="meta-info">
    <p class="university">${course.get_about_section('university')}</p>
  </div>
</article>
