summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-02-23 12:17:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-26 17:20:28 +0000
commit98d462c8e67e292188f2614a3cc9db6136320351 (patch)
tree2375759d5a3bd601336cb0e880511c4f59ab6f58 /bitbake/lib/toaster/toastergui/templates
parent88b56603ce18337ac3c31185ae6ee90e9551c2ae (diff)
downloadpoky-98d462c8e67e292188f2614a3cc9db6136320351.tar.gz
bitbake: toaster: show suffix for image files and basename for artifact files
The build dashboard doesn't show image and artifact files correctly, as it shows the full filename for images and the filename plus path relative to DEPLOY_DIR for artifacts. Instead, show just the suffix for image files, and the basename for artifact files. (Bitbake rev: 8084dcdc283b4dc170f066c202f89d56ce1abbef) Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/builddashboard.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html
index 7857abaaac..a0da71ea4c 100644
--- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html
+++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html
@@ -110,7 +110,7 @@
110 </p> 110 </p>
111 </div> 111 </div>
112 </div> 112 </div>
113 {% else %} 113 {% else %}
114 <dt> 114 <dt>
115 <i class="icon-question-sign get-help" title="The location in disk of the license manifest, a document listing all packages installed in your image and their licenses"></i> 115 <i class="icon-question-sign get-help" title="The location in disk of the license manifest, a document listing all packages installed in your image and their licenses"></i>
116 116
@@ -125,18 +125,18 @@
125 </dt> 125 </dt>
126 <dd> 126 <dd>
127 <ul> 127 <ul>
128 {% for i in target.imageFiles %} 128 {% for i in target.imageFiles %}
129 {% if build.project %} 129 <li>
130 <li><a href="{% url 'build_artifact' build.pk 'imagefile' i.id %}">{{i.path}}</a> 130 <a href="{% url 'build_artifact' build.pk 'imagefile' i.id %}">
131 {% else %} 131 {{i.suffix}}
132 <li>{{i.path}} 132 </a>
133 {% endif %} 133 &nbsp;({{i.size|filtered_filesizeformat}})
134 ({{i.size|filtered_filesizeformat}})</li> 134 </li>
135 {% endfor %} 135 {% endfor %}
136 </ul> 136 </ul>
137 </dd> 137 </dd>
138 </dl> 138 </dl>
139 {% endif %} 139 {% endif %}
140 </div> 140 </div>
141 {% endif %} 141 {% endif %}
142 {% endfor %} 142 {% endfor %}
@@ -160,7 +160,7 @@
160 <dd><div> 160 <dd><div>
161 {% for ba in build.buildartifact_set.all|dictsort:"file_name" %} 161 {% for ba in build.buildartifact_set.all|dictsort:"file_name" %}
162 <a href="{%url 'build_artifact' build.id 'buildartifact' ba.id %}"> 162 <a href="{%url 'build_artifact' build.id 'buildartifact' ba.id %}">
163 {{ba.get_local_file_name}} 163 {{ba.get_basename}}
164 </a> 164 </a>
165 165
166 ({{ba.file_size|filtered_filesizeformat}}) <br/> 166 ({{ba.file_size|filtered_filesizeformat}}) <br/>