summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-02-04 13:10:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-10 23:07:48 +0000
commit42a7d91ad4bc30c31b5467ce9ec83b7390bd2329 (patch)
tree0168c43424f41b24e51c367f9ea5010eb48d2104
parentd81e5141c10a97bf5764892f9b20933b751c1da3 (diff)
downloadpoky-42a7d91ad4bc30c31b5467ce9ec83b7390bd2329.tar.gz
bitbake: toastergui: set column heading to 'Revision'
Replace the column heading 'Branch, tag or commit' with 'Revision'. This also fixes 7023. [YOCTO #7023] (Bitbake rev: 102144f8e5069f76e7de8db052c3c4531609771f) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/templates/layerdetails.html5
-rwxr-xr-xbitbake/lib/toaster/toastergui/views.py10
2 files changed, 10 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
index 4ffd07152c..6705215aae 100644
--- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html
+++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
@@ -142,7 +142,10 @@
142 <i id="change-subdir" class="icon-pencil"></i> 142 <i id="change-subdir" class="icon-pencil"></i>
143 <span class="icon-trash delete-current-value" data-toggle="tooltip" title="Delete"></span> 143 <span class="icon-trash delete-current-value" data-toggle="tooltip" title="Delete"></span>
144 </dd> 144 </dd>
145 <dt>Brach, tag or commit</dt> 145 <dt>
146 <i class="icon-question-sign get-help" title="The Git branch, tag or commit"></i>
147 Revision
148 </dt>
146 <dd> 149 <dd>
147 <span class="current-value">{{layerversion.commit}}</span> 150 <span class="current-value">{{layerversion.commit}}</span>
148 <form style="display:none;"> 151 <form style="display:none;">
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 4b770ff5db..9567e626be 100755
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -2574,9 +2574,9 @@ if toastermain.settings.MANAGED:
2574 'hidden': 1, 2574 'hidden': 1,
2575 'qhelp': "The layer directory within the Git repository", 2575 'qhelp': "The layer directory within the Git repository",
2576 }, 2576 },
2577 { 'name': 'Branch, tag o commit', 2577 { 'name': 'Revision',
2578 'clclass': 'branch', 2578 'clclass': 'branch',
2579 'qhelp': "The Git branch of the layer. For the layers from the OpenEmbedded source, the branch matches the Yocto Project version you selected for this project", 2579 'qhelp': "The Git branch, tag or commit. For the layers from the OpenEmbedded layer source, the revision is always the branch compatible with the Yocto Project version you selected for this project",
2580 }, 2580 },
2581 { 'name': 'Dependencies', 2581 { 'name': 'Dependencies',
2582 'clclass': 'dependencies', 2582 'clclass': 'dependencies',
@@ -2740,8 +2740,9 @@ if toastermain.settings.MANAGED:
2740 'options': map(lambda x: ("Targets provided by " + x.name + " layers", 'layer_source__pk:' + str(x.id), queryset_with_search.filter(layer_source__pk = x.id).count() ), LayerSource.objects.all()), 2740 'options': map(lambda x: ("Targets provided by " + x.name + " layers", 'layer_source__pk:' + str(x.id), queryset_with_search.filter(layer_source__pk = x.id).count() ), LayerSource.objects.all()),
2741 } 2741 }
2742 }, 2742 },
2743 { 'name': 'Branch, tag or commit', 2743 { 'name': 'Revision',
2744 'clclass': 'branch', 2744 'clclass': 'branch',
2745 'qhelp': "The Git branch, tag or commit. For the layers from the OpenEmbedded layer source, the revision is always the branch compatible with the Yocto Project version you selected for this project.",
2745 'hidden': 1, 2746 'hidden': 1,
2746 }, 2747 },
2747 ] 2748 ]
@@ -2827,8 +2828,9 @@ if toastermain.settings.MANAGED:
2827 'options': map(lambda x: (x.name, 'layer_source__pk:' + str(x.id), queryset_with_search.filter(layer_source__pk = x.id).count() ), LayerSource.objects.all()), 2828 'options': map(lambda x: (x.name, 'layer_source__pk:' + str(x.id), queryset_with_search.filter(layer_source__pk = x.id).count() ), LayerSource.objects.all()),
2828 } 2829 }
2829 }, 2830 },
2830 { 'name': 'Branch, tag or commit', 2831 { 'name': 'Revision',
2831 'clclass': 'branch', 2832 'clclass': 'branch',
2833 'qhelp' : "The Git branch, tag or commit. For the layers from the OpenEmbedded layer source, the revision is always the branch compatible with the Yocto Project version you selected for this project",
2832 'hidden': 1, 2834 'hidden': 1,
2833 }, 2835 },
2834 { 'name': 'Select', 2836 { 'name': 'Select',