Allow you click through to the layer details page of a layer that has just
been used in a build.
Also rename 'layer branch' to layer revision for clarity.

Signed-off-by: Michael Wood <[email protected]>
---
 bitbake/lib/toaster/toastergui/templates/configuration.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bitbake/lib/toaster/toastergui/templates/configuration.html 
b/bitbake/lib/toaster/toastergui/templates/configuration.html
index 3e48991..6239e99 100644
--- a/bitbake/lib/toaster/toastergui/templates/configuration.html
+++ b/bitbake/lib/toaster/toastergui/templates/configuration.html
@@ -48,14 +48,14 @@
       <thead>
         <tr>
           <th>Layer</th>
-          <th>Layer branch</th>
+          <th>Layer revision</th>
           <th>Layer commit</th>
         </tr>
       </thead>
       <tbody>{% for lv in build.layer_version_build.all|dictsort:"layer.name" 
%}
         <tr>
-            <td>{{lv.layer.name}}</td>
-            <td>{{lv.branch}}</td>
+          <td><a href="{% url 'layerdetails' build.project.pk lv.pk 
%}">{{lv.layer.name}}</a></td>
+          <td>{{lv.get_vcs_reference}}</td>
             <td> <a class="btn" data-content="<ul class='unstyled'>
                 <li>{{lv.commit}}</li> </ul>">
                     {{lv.commit|truncatechars:13}}
-- 
2.1.4

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to