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.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index 03bd2ae9c6..9ff756bc8d 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.py
@@ -1615,14 +1615,12 @@ class DistrosTable(ToasterTable):
1615 hidden=True, 1615 hidden=True,
1616 field_name="layer_version__get_vcs_reference") 1616 field_name="layer_version__get_vcs_reference")
1617 1617
1618 wrtemplate_file_template = '''<code>conf/machine/{{data.name}}.conf</code> 1618 distro_file_template = '''<code>conf/distro/{{data.name}}.conf</code>
1619 <a href="{{data.get_vcs_machine_file_link_url}}" target="_blank"><span class="glyphicon glyphicon-new-window"></i></a>''' 1619 {% if 'None' not in data.get_vcs_distro_file_link_url %}<a href="{{data.get_vcs_distro_file_link_url}}" target="_blank"><span class="glyphicon glyphicon-new-window"></i></a>{% endif %}'''
1620
1621 self.add_column(title="Distro file", 1620 self.add_column(title="Distro file",
1622 hidden=True, 1621 hidden=True,
1623 static_data_name="templatefile", 1622 static_data_name="templatefile",
1624 static_data_template=wrtemplate_file_template) 1623 static_data_template=distro_file_template)
1625
1626 1624
1627 self.add_column(title="Select", 1625 self.add_column(title="Select",
1628 help_text="Sets the selected distro to the project", 1626 help_text="Sets the selected distro to the project",