{% extends "basebuildpage.html" %}

{% block localbreadcrumb %}
<li>Recipes</li>
{% endblock %}

{% block buildinfomain %}
<div class="row-fluid pull-right span10">
{% include "basetable_top.html" %}

        <tr>
        </tr>
            <th>Name</th>
            <th>Version</th>
            <th>Summary</th>
            <th>Description</th>
            <th>Section</th>
            <th>License</th>
            <th>License file</th>
            <th>Homepage</th>
            <th>Bugtracker</th>
            <th>File_path</th>
            <th style="width: 30em">Recipe Dependency</th>


        {% for recipe in objects %}

        <tr class="data">
            <td><a name="{{recipe.name}}" href="{% url "recipe" build.pk recipe.pk %}">{{recipe.name}}</a></td>
            <td>{{recipe.version}}</td>
            <td>{{recipe.summary}}</td>
            <td>{{recipe.description}}</td>
            <td>{{recipe.section}}</td>
            <td>{{recipe.license}}</td>
            <td>{{recipe.licensing_info}}</td>
            <td>{{recipe.homepage}}</td>
            <td>{{recipe.bugtracker}}</td>
            <td>{{recipe.file_path}}</td>
            <td>
        <div style="height: 5em; overflow:auto">
            {% for rr in recipe.r_dependencies_recipe.all %}
                <a href="#{{rr.depends_on.name}}">{{rr.depends_on.name}}</a><br/>
            {% endfor %}
        </div>
            </td>
        </tr>

        {% endfor %}

{% include "basetable_bottom.html" %}
</div>
{% endblock %}
