~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to online_help/templates/wares.html

  • Committer: Holger Rapp
  • Date: 2009-02-26 22:38:49 UTC
  • Revision ID: sirver@kallisto.local-20090226223849-1563ij0uuw0lz0zu
First version of widelands online help

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "base.html" %}
2
1
{% comment %}
3
2
   vim:ft=htmldjango
4
3
{% endcomment %}
5
4
 
6
5
{% block content %}
7
 
 
8
 
<!-- Wares -->
9
 
<h1>Wares</h1>
10
 
<table class="ware" width="100%" cellspacing="1">
11
 
   <tr>
12
 
      <th width="48px">Image</th>
13
 
      <th width="96px">Name</th>
14
 
      <th             >Description</th>
15
 
   </tr>
 
6
{{ MEDIA_URL }}
 
7
<table>
16
8
{% for ware in wares %}
17
 
{% include "inlines/display_ware.html" %}
 
9
<tr>
 
10
   <td>{{ ware.name }}</td>
 
11
   <td>{{ ware.displayname }}</td>
 
12
   <td>{{ ware.tribe.name }}</td>
 
13
   <td>{{ ware.tribe.displayname }}</td>
 
14
   <td><img src="{{ MEDIA_URL }}/{{ ware.image_url }}"></td>
18
15
{% endfor %}
19
16
</table>
20
17
{% endblock %}
21