summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tables.py')
-rw-r--r--bitbake/lib/toaster/toastergui/tables.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index 0cf96a0ef3..902f62f708 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.py
@@ -146,15 +146,8 @@ class LayersTable(ToasterTable):
146 static_data_template=git_dir_template) 146 static_data_template=git_dir_template)
147 147
148 revision_template = ''' 148 revision_template = '''
149 {% load projecttags %}
150 {% with vcs_ref=data.get_vcs_reference %} 149 {% with vcs_ref=data.get_vcs_reference %}
151 {% if vcs_ref|is_shaid %} 150 {% include 'snippets/gitrev_popover.html' %}
152 <a class="btn" data-content="<ul class='unstyled'> <li>{{vcs_ref}}</li> </ul>">
153 {{vcs_ref|truncatechars:10}}
154 </a>
155 {% else %}
156 {{vcs_ref}}
157 {% endif %}
158 {% endwith %} 151 {% endwith %}
159 ''' 152 '''
160 153
@@ -718,6 +711,7 @@ class PackagesTable(ToasterTable):
718 711
719 self.add_column(title="Approx Size", 712 self.add_column(title="Approx Size",
720 orderable=True, 713 orderable=True,
714 field_name="size",
721 static_data_name="size", 715 static_data_name="size",
722 static_data_template="{% load projecttags %} \ 716 static_data_template="{% load projecttags %} \
723 {{data.size|filtered_filesizeformat}}") 717 {{data.size|filtered_filesizeformat}}")