diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tables.py')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/tables.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py index 2cc2f4eb7b..d375da434f 100644 --- a/bitbake/lib/toaster/toastergui/tables.py +++ b/bitbake/lib/toaster/toastergui/tables.py | |||
| @@ -508,10 +508,12 @@ class CustomImagesTable(ToasterTable): | |||
| 508 | 508 | ||
| 509 | recipe_file_template = ''' | 509 | recipe_file_template = ''' |
| 510 | <code>{{data.name}}_{{data.version}}.bb</code> | 510 | <code>{{data.name}}_{{data.version}}.bb</code> |
| 511 | {% if data.get_base_recipe_file %} | ||
| 511 | <a href="{% url 'customrecipedownload' extra.pid data.pk %}"> | 512 | <a href="{% url 'customrecipedownload' extra.pid data.pk %}"> |
| 512 | <i class="icon-download-alt" data-original-title="Download recipe | 513 | <i class="icon-download-alt" data-original-title="Download recipe |
| 513 | file"></i> | 514 | file"></i> |
| 514 | </a>''' | 515 | </a> |
| 516 | {% endif %}''' | ||
| 515 | 517 | ||
| 516 | self.add_column(title="Recipe file", | 518 | self.add_column(title="Recipe file", |
| 517 | static_data_name='recipe_file_download', | 519 | static_data_name='recipe_file_download', |
