view sg101/templates/downloads/commands/category_report.html @ 634:d6489e6a40f6

Add an encoding header to the downloads category report. Added a --titles-only option to the downloads category report.
author Brian Neal <bgneal@gmail.com>
date Fri, 21 Dec 2012 10:28:52 -0600
parents ee87ea74d46b
children d84aaf239182
line wrap: on
line source
<!DOCTYPE html>
<html lang="en">
   <head>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title>Download Report: {{ category.title }}</title>
   </head>
   <body>
      <h1>Download Report: {{ category.title }}</h1>
      {% for dl in downloads %}
         <h2>{{ dl.title }}</h2>
         <p><small><em>Uploaded by {{ dl.user.username }}.</em></small></p>
         <div>{{ dl.html|safe }}</div>
      {% endfor %}
   </body>
</html>