blob: 9fa28a8f8a87f17d01ec945d547e279e3f5ec0bf [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001{% extends "basebuilddetailpage.html" %}
2{% load projecttags %}
3
Patrick Williamsf1e5d692016-03-30 15:21:19 -05004{% block title %}
5 {% if target %}
6 {{package.fullpackagespec}} - {{ target.target }} {{ build.machine }} - {{ build.project.name }} - Toaster
7 {% else %}
8 {{package.fullpackagespec}} - {{ build.target_set.all|dictsort:"target"|join:", " }} {{ build.machine }} - {{ build.project.name }} - Toaster
9 {% endif %}
10{% endblock %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050011{% block extraheadcontent %}
12 <!-- functions to format package 'installed_package' alias -->
13 <script>
14 function fmtAliasHelp(package_name, alias, hover) {
15 var r = null;
16 if (alias != null && alias != '') {
17 r = '<span class="muted"> as ' + alias + '&nbsp';
18 r += '<i class="icon-question-sign get-help';
19 if (hover) {
20 r+= ' hover-help';
21 }
22 else {
23 r+= ' heading-help';
24 }
25 r += '"';
26 title = package_name + ' was renamed at packaging time and was installed on your system as ' + alias;
27 r += ' title="' + title + '">';
28 r += '</i>';
29 r += '</span>';
30 document.write(r);
31 }
32 }
33 </script>
34{% endblock extraheadcontent %}
35{% block localbreadcrumb %}
36 {% if target %}
37 <li><a href="{% url "target" build.id target.id %}">{{target.target}}</a></li>
38 <li>{{package.fullpackagespec}} {% if package.alias %} as {{package.alias}}{% endif %}</li>
39 {% else %}
40 <li><a href="{% url "packages" build.id %}"> Packages </a></li>
41 <li>{{package.fullpackagespec}}</li>
42 {% endif %}
43{% endblock localbreadcrumb %}
44
45{% block pagedetailinfomain %}
46 <div class="row span11">
47 <div class="page-header">
Patrick Williamsf1e5d692016-03-30 15:21:19 -050048 {% block mainheading %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050049 <h1>{{package.fullpackagespec}}</h1>
Patrick Williamsf1e5d692016-03-30 15:21:19 -050050 {% endblock %}
Patrick Williamsc124f4f2015-09-15 14:41:29 -050051 </div> <!-- page-header -->
52 </div> <!-- row span11 page-header -->
53
54 {% block twocolumns %}
55 <div class="row span7 tabbable">
56 {% block tabcontent %}
57 {% endblock tabcontent %}
58 </div> <!-- row span7 -->
59
60 <div class="row span4 well">
61 <h2>Package information</h2>
62
63 <!-- info presented as definition list -->
64 <dl class="item-info">
65 <dt>
66 Size
67 <i class="icon-question-sign get-help" title="The size of the package"></i>
68 </dt>
69 <dd>
70 {% comment %}
71 if recipe is absent, filesize is not 0
72 {% endcomment %}
73 {% if package.recipe_id > 0 %}
74 {{package.size|filtered_filesizeformat}}
75 {% if target.file_size %}
76 ({{package.size|multiply:100|divide:target.file_size}}% of included package size)
77 {% endif %}
78
79 {% endif %}
80 </dd>
81
82 <dt>
83 License
84 <i class="icon-question-sign get-help" title="The license under which this package is distributed"></i>
85 </dt>
86 <dd>{{package.license}}</dd>
87
88 {% comment %}
89 # Removed per review on 1/18/2014 until license data population
90 # problemse are resolved.
91 <dt>
92 License files
93 <i class="icon-question-sign get-help" title="Path to the license files that apply to the package"></i>
94 </dt>
95 <dd></dd>
96 {% endcomment %}
97
98 <dt>
99 Recipe
100 <i class="icon-question-sign get-help" title="The name of the recipe building this package"></i>
101 </dt>
102 <dd>
103 {% if package.recipe_id > 0 %}
104 <a href="{% url "recipe" build.id package.recipe_id %}"> {{package.recipe.name}} </a>
105 {% else %}
106 {{package.recipe.name}}
107 {% endif %}
108 </dd>
109
110 <dt>
111 Recipe version
112 <i class="icon-question-sign get-help" title="The version of the recipe building this package"></i>
113 </dt>
114 <dd>{{package.recipe.version}}</dd>
115
116 <dt>
117 Layer
118 <i class="icon-question-sign get-help" title="The name of the layer providing the recipe that builds this package"></i>
119 </dt>
120 <dd>
121 {{package.recipe.layer_version.layer.name}}
122 {% if package.recipe.layer_version.layer.name|format_none_and_zero != "" %}
123 {% comment %}
124 # Removed per team meeting of 1/29/2014 until
125 # decision on index search algorithm
126 <a href="http://layers.openembedded.org" target="_blank">
127 <i class="icon-share get-info"></i>
128 </a>
129 {% endcomment %}
130 {% endif %}
131 </dd>
132 {% if package.recipe.layer_version.branch %}
133 <dt>
134 Layer branch
135 <i class="icon-question-sign get-help" title="The Git branch of the layer providing the recipe that builds this package"></i>
136 </dt>
137 <dd>{{package.recipe.layer_version.branch}}</dd>
138 {% endif %}
139 <dt>
140 Layer commit
141 <i class="icon-question-sign get-help" title="The Git commit of the layer providing the recipe that builds this package"></i>
142 </dt>
143
144 <dd class="iscommit">{{package.recipe.layer_version.commit}}</dd>
145
146 </dl>
147 </div> <!-- row4 well -->
148 {% endblock twocolumns %}
149{% endblock pagedetailinfomain %}