blob: 37a586f3891f2ed957c79e2f598ec328a2e8517d [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "basebuilddetailpage.html" %}
2
3{% load projecttags %}
4{% load humanize %}
5{% block localbreadcrumb %}
6<li><a href="{% url 'recipes' build.pk %}">Recipes</a></li>
7<li>{{recipe.name}}_{{recipe.version}} </li>
8{% endblock %}
9
10{% block pagedetailinfomain %}
11
12<!-- Begin container -->
13
Patrick Williamsc0f7c042017-02-23 20:41:17 -060014<div class="row">
15 <div class="col-md-12">
16 <div class="page-header build-data">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050017 <h1>{{recipe.name}}_{{recipe.version}}</h1>
18 </div>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060019 </div>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020</div>
21
Patrick Williamsc0f7c042017-02-23 20:41:17 -060022<div class="row">
23 <div class="col-md-8 tabbable">
24 <ul class="nav nav-tabs">
Patrick Williamsc124f4f2015-09-15 14:41:29 -050025 <li>
26 <a href="{% url "recipe" build.pk recipe.id "1" %}">
Patrick Williamsc0f7c042017-02-23 20:41:17 -060027 <span class="glyphicon glyphicon-question-sign get-help" title="Build-related
28 information about the recipe"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029 Recipe details
30 </a>
31 </li>
32 <li class="active">
Patrick Williamsc0f7c042017-02-23 20:41:17 -060033 <a href="#packages-built" data-toggle="tab">
34 <span class="glyphicon glyphicon-question-sign get-help" title="The packaged
35 output resulting from building the recipe"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036 Packages ({{object_count}})
37 </a>
38 </li>
39 <li>
40 <a href="{% url "recipe" build.pk recipe.id "3" %}">
Patrick Williamsc0f7c042017-02-23 20:41:17 -060041 <span class="glyphicon glyphicon-question-sign get-help" title="The recipe
42 build-time dependencies (i.e. other recipes)"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050043 Build dependencies ({{recipe.r_dependencies_recipe.all.count}})
44 </a>
45 </li>
46 <li>
47 <a href="{% url "recipe" build.pk recipe.id "4" %}">
Patrick Williamsc0f7c042017-02-23 20:41:17 -060048 <span class="glyphicon glyphicon-question-sign get-help" title="The recipe
49 build-time reverse dependencies (i.e. the recipes that
50 depend on this recipe)"></span>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050051 Reverse build dependencies ({{recipe.r_dependencies_depends.all.count}})
52 </a>
53 </li>
54 </ul>
55 <div class="tab-content">
56{# <div class="tab-pane active" id="packages-built" name="packages-built">#}
57 <div class="tab-pane active" id="packages-built">
58 {% if not objects and not request.GET.search %}
59 <div class="alert alert-info">
60 <strong>{{recipe.name}}_{{recipe.version}}</strong> does not build any packages.
61 </div>
62
63 {% elif not objects %}
64 {# have empty search results, no table nor pagination #}
65 {% with "packages" as search_what %}
66 {% include "detail_search_header.html" %}
67 {% endwith %}
68
69 {% else %}
70
71
72 {% with "packages" as search_what %}
73 {% include "detail_search_header.html" %}
74 {% endwith %}
75 <table class="table table-bordered table-hover tablesorter" id="otable">
76 {% include "detail_sorted_header.html" %}
77
78 <tbody>
79 {% for package in objects %}
80
81 <tr>
82 <td><a href="{% url "package_built_detail" build.pk package.pk %}">{{package.name}}</a></td>
Patrick Williamsc0f7c042017-02-23 20:41:17 -060083 <td>{{package.version}}_{{package.revision}}</td>
84 <td class="sizecol">{{package.size|filtered_filesizeformat}}</td>
Patrick Williamsc124f4f2015-09-15 14:41:29 -050085 </tr>
86
87 {% endfor %}
88
89 {% endif %}
90 {% if objects %}
91 </tbody>
92 </table>
93 {% include "detail_pagination_bottom.html" %}
94 {% endif %}
95 </div> {# tab-pane #}
96 </div> {# tab-content #}
Patrick Williamsc0f7c042017-02-23 20:41:17 -060097</div> {# col-md-8 #}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050098
Patrick Williamsc0f7c042017-02-23 20:41:17 -060099<div class="col-md-4">
100 <div class="well">
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500101 <h2>About {{recipe.name}}</h2>
102 <dl class="item-info">
103 {% if recipe.summary %}
104 <dt>Summary</dt>
105 <dd>{{recipe.summary}}</dd>
106 {% endif %}
107 {% if recipe.description %}
108 <dt>Description</dt>
109 <dd>{{recipe.description}}</dd>
110 {% endif %}
111 {% if recipe.homepage %}
112 <dt>Homepage</dt>
113 <dd><a href="{{recipe.homepage}}">{{recipe.homepage}}</a></dd>
114 {% endif %}
115 {% if recipe.bugtracker %}
116 <dt>Bugtracker</dt>
117 <dd><a href="{{recipe.bugtracker}}">{{recipe.bugtracker}}</a></dd>
118 {% endif %}
119 {% if recipe.section %}
120 <dt>
121 Section
122 <i class="icon-question-sign get-help" title="The section in which recipes should be categorized"></i>
123 </dt>
124 <dd>{{recipe.section}}</dd>
125 {% endif %}
126 {% if recipe.license %}
127 <dt>License</dt>
128 <dd>{{recipe.license}}</dd>
129 {% endif %}
130 </dl>
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600131 </div>
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500132</div>
Patrick Williamsc0f7c042017-02-23 20:41:17 -0600133
134</div> <!-- end row -->
Patrick Williamsc124f4f2015-09-15 14:41:29 -0500135{% endblock pagedetailinfomain %}