~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to templates/wlhelp/building_details.html

  • Committer: franku
  • Date: 2016-07-02 12:38:06 UTC
  • mfrom: (404.2.56 widelands)
  • Revision ID: somal@arcor.de-20160702123806-q69u3d48s1prrxds
merged the django1_8 branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
{% block content %}
11
11
<h1>{{ tribe.displayname }}: {{ building.displayname }}</h1>
12
12
<div class="blogEntry">
13
 
        <a href="{% url wlhelp_index %}">Encyclopedia</a> &#187;
14
 
        <a href="{% url wlhelp_tribe_details tribe.name %}">{{ tribe.displayname }}</a> &#187;
15
 
        <a href="{% url wlhelp_buildings tribe.name %}">Buildings</a> &#187;
 
13
        <a href="{% url 'wlhelp_index' %}">Encyclopedia</a> &#187;
 
14
        <a href="{% url 'wlhelp_tribe_details' tribe.name %}">{{ tribe.displayname }}</a> &#187;
 
15
        <a href="{% url 'wlhelp_buildings' tribe.name %}">Buildings</a> &#187;
16
16
        {{ building.displayname }}
17
17
        <br /><br />
18
18
 
29
29
        <h2>Build Cost<h2>
30
30
        {% for costs in building.get_build_cost %}
31
31
                {% for w in costs %}
32
 
                <a href="{% url wlhelp_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
 
32
                <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
33
33
                {% endfor %}
34
34
        <br />
35
35
        {% endfor %}
39
39
        <h2>Produces</h2>
40
40
        {% if building.produces and not building.trains %}
41
41
                {% for w in building.get_ware_outputs %}
42
 
                <a href="{% url wlhelp_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
 
42
                <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
43
43
                {% endfor %}
44
44
        {% else %}
45
45
                {% for wor in building.get_worker_outputs %}
52
52
        <h2>Stores</h2>
53
53
        {% for costs in building.get_stored_wares %}
54
54
                {% for w in costs %}
55
 
                <a href="{% url wlhelp_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
 
55
                <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
56
56
                {% endfor %}
57
57
        <br />
58
58
        {% endfor %}