diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-05-18 12:03:00 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-29 11:59:44 +0100 |
commit | 6a9efefbba615b48d82024487d1ea7f3e4c101ef (patch) | |
tree | 5300465b9a236615893ffce9f2e6e3279e8a33f9 /bitbake/lib/toaster/toastergui/templates/configvars.html | |
parent | 9dcfa32cf122d8748579043f68d447079bc5bf0c (diff) | |
download | poky-6a9efefbba615b48d82024487d1ea7f3e4c101ef.tar.gz |
bitbake: toastergui: show relative paths in configvars view
Reworked filtering of config paths.
Stripped clone paths, topdir and its parent directory from the paths
to config files in configvars view.
[YOCTO #7463]
(Bitbake rev: 873087b11653848ec2704d67de5680a265b71eaa)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/configvars.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/configvars.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/configvars.html b/bitbake/lib/toaster/toastergui/templates/configvars.html index 3e4c7e85ea..42c42a57ad 100644 --- a/bitbake/lib/toaster/toastergui/templates/configvars.html +++ b/bitbake/lib/toaster/toastergui/templates/configvars.html | |||
@@ -54,9 +54,11 @@ | |||
54 | <td class="variable_name"><a data-toggle="modal" href="#variable-{{variable.pk}}">{{variable.variable_name}}</a></td> | 54 | <td class="variable_name"><a data-toggle="modal" href="#variable-{{variable.pk}}">{{variable.variable_name}}</a></td> |
55 | <td class="variable_value"><a data-toggle="modal" href="#variable-{{variable.pk}}">{{variable.variable_value|truncatechars:153}}</a></td> | 55 | <td class="variable_value"><a data-toggle="modal" href="#variable-{{variable.pk}}">{{variable.variable_value|truncatechars:153}}</a></td> |
56 | <td class="file"><a data-toggle="modal" href="#variable-{{variable.pk}}"> | 56 | <td class="file"><a data-toggle="modal" href="#variable-{{variable.pk}}"> |
57 | {% if variable.vhistory.all %} {% autoescape off %} | 57 | {% if variable.vhistory.all %} |
58 | {{variable.vhistory.all | filter_setin_files:file_filter | cut_layer_path_prefix:layer_names}} | 58 | {% for path in variable.vhistory.all|filter_setin_files:file_filter %} |
59 | {% endautoescape %} {% endif %} | 59 | {{path|cut_path_prefix:dirstostrip}}<p> |
60 | {% endfor %} | ||
61 | {% endif %} | ||
60 | </a></td> | 62 | </a></td> |
61 | <td class="description"> | 63 | <td class="description"> |
62 | {% if variable.description %} | 64 | {% if variable.description %} |
@@ -115,7 +117,7 @@ | |||
115 | <tbody> | 117 | <tbody> |
116 | {% for vh in variable.vhistory.all %} | 118 | {% for vh in variable.vhistory.all %} |
117 | <tr> | 119 | <tr> |
118 | <td>{{forloop.counter}}</td><td>{{vh.file_name|cut_layer_path_prefix:layer_names}}</td><td>{{vh.operation}}</td><td>{{vh.line_number}}</td> | 120 | <td>{{forloop.counter}}</td><td>{{vh.file_name|cut_path_prefix:dirstostrip}}</td><td>{{vh.operation}}</td><td>{{vh.line_number}}</td> |
119 | </tr> | 121 | </tr> |
120 | {%endfor%} | 122 | {%endfor%} |
121 | </tbody> | 123 | </tbody> |