diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-04-01 23:11:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-08 16:18:12 +0100 |
commit | 12782678073b1605cc282a0a89e4ebb2e10a9be8 (patch) | |
tree | 4b55af3803cb6446426cf2e2f4b748baaf808b0e /bitbake/lib/toaster/toastergui/templates/task.html | |
parent | 961f6226fa8019a7492ee40fdba18c5916065001 (diff) | |
download | poky-12782678073b1605cc282a0a89e4ebb2e10a9be8.tar.gz |
bitbake: toaster: Make sure layer branch only shows when not empty
In the recipe details and package details pages, the layer branch
definition list elements should only show when the branch field in
the database is populated. If the branch field is empty, we don't
show them.
The patch also removes all unnecessary data-toggle and
data-original-title attributes.
[YP #6152]
(Bitbake rev: 72adcadb931519f803dad7488544767241561fb7)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/task.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/task.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index 455599932c..3c4a3d4893 100644 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ b/bitbake/lib/toaster/toastergui/templates/task.html | |||
@@ -46,7 +46,7 @@ | |||
46 | {# not executed tasks outcome #} | 46 | {# not executed tasks outcome #} |
47 | {% if task.outcome == task.OUTCOME_PREBUILT %} | 47 | {% if task.outcome == task.OUTCOME_PREBUILT %} |
48 | {% if not showing_matches %} | 48 | {% if not showing_matches %} |
49 | <a class="btn" href="javascript:reload_params({'show_matches' : 'true' })">Match to tasks in previous builds <i class="icon-question-sign get-help" style="margin-top:20px;" data-toggle="tooltip" title="This shows you a list of tasks from previous builds with the same signature generated from the same inputs as used in the prebuilt task. Any of them could be the task that generated the output this prebuilt task is reusing"></i></a> | 49 | <a class="btn" href="javascript:reload_params({'show_matches' : 'true' })">Match to tasks in previous builds <i class="icon-question-sign get-help" style="margin-top:20px;" title="This shows you a list of tasks from previous builds with the same signature generated from the same inputs as used in the prebuilt task. Any of them could be the task that generated the output this prebuilt task is reusing"></i></a> |
50 | {% elif matching_tasks %} | 50 | {% elif matching_tasks %} |
51 | <h3 class="details">Prebuilt task could be based on | 51 | <h3 class="details">Prebuilt task could be based on |
52 | <i class="icon-question-sign get-help heading-help" title="This table shows a list of tasks from previous builds with the same signature generated from the same inputs as used in the prebuilt task. Any of them could be the task that generated the output this prebuilt task is reusing"></i> | 52 | <i class="icon-question-sign get-help heading-help" title="This table shows a list of tasks from previous builds with the same signature generated from the same inputs as used in the prebuilt task. Any of them could be the task that generated the output this prebuilt task is reusing"></i> |