From: Sujith H Date: Mon, 1 Aug 2016 07:25:15 +0000 (+0000) Subject: toaster: update build configuration page X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca3f602a955e01d445fb4789496e925f8d4234b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: update build configuration page Update layer branch and layer commit section in the build configuration page for locally imported layers. For locally imported layers this secion goes as "Not applicable". [YOCO #9911] Signed-off-by: Sujith H --- diff --git a/lib/toaster/toastergui/templates/configuration.html b/lib/toaster/toastergui/templates/configuration.html index 1d0ec3f484b..58989f865c6 100644 --- a/lib/toaster/toastergui/templates/configuration.html +++ b/lib/toaster/toastergui/templates/configuration.html @@ -53,11 +53,25 @@ {% for lv in build.layer_version_build.all|dictsort:"layer.name" %} {{lv.layer.name}} + {% if lv.layer.local_source_dir %} + + Not applicable + + + {% else %} {{lv.branch}} + {% endif %} + {% if lv.layer.local_source_dir %} + + Not applicable + + + {% else %} {{lv.commit|truncatechars:13}} + {% endif %} {% endfor %}