diff options
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 %} | ||