diff options
author | Michael Wood <michael.g.wood@intel.com> | 2016-05-26 16:12:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 08:35:04 +0100 |
commit | a786ac14f1c6c02c38dc141125035445413f1250 (patch) | |
tree | 0e591f980a70afecbbde39c77e62b7f12ec4a889 /bitbake/lib/toaster/toastergui/templates/snippets/gitrev_popover.html | |
parent | b63f9518e718db09e14c8287fadf0bebcdf5ec9e (diff) | |
download | poky-a786ac14f1c6c02c38dc141125035445413f1250.tar.gz |
bitbake: toaster: port table for Built packages to ToasterTable
This is the table that displays all the packages built in the build.
Build -> Packages. Adds a template snippet for the git revision popover.
(Bitbake rev: df62f38ff4e634544c9b1e97c5f6ca45e84a4f1e)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/snippets/gitrev_popover.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/snippets/gitrev_popover.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/snippets/gitrev_popover.html b/bitbake/lib/toaster/toastergui/templates/snippets/gitrev_popover.html new file mode 100644 index 0000000000..281a3bd765 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/snippets/gitrev_popover.html | |||
@@ -0,0 +1,8 @@ | |||
1 | {% load projecttags %} | ||
2 | {% if vcs_ref|is_shaid %} | ||
3 | <a class="btn" data-content="<ul class='unstyled'> <li>{{vcs_ref}}</li> </ul>"> | ||
4 | {{vcs_ref|truncatechars:10}} | ||
5 | </a> | ||
6 | {% else %} | ||
7 | {{vcs_ref}} | ||
8 | {% endif %} | ||