diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-02-20 10:14:41 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-17 13:59:37 +0000 |
commit | d7fde8bb3cf1f7e45c16f053d723db349020fc73 (patch) | |
tree | 2872991da7ddf0cf9ea24ce7bc13d5799d05026e | |
parent | 2ac438747f7a26ff6a8e90d7b320bcf186023556 (diff) | |
download | poky-d7fde8bb3cf1f7e45c16f053d723db349020fc73.tar.gz |
bitbake: toaster: Replace hyphens with underscores in package name
Package details pages were using hyphens to separate package
name from package version. Changing them to underscores.
(Bitbake rev: c0820f93e0387d2b6ead9e2fa7205d49001d27e6)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 files changed, 8 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html index a7aaab6de7..79f135cd92 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_detail_base.html +++ b/bitbake/lib/toaster/toastergui/templates/package_detail_base.html | |||
@@ -2,7 +2,7 @@ | |||
2 | {% load projecttags %} | 2 | {% load projecttags %} |
3 | 3 | ||
4 | {% block localbreadcrumb %} | 4 | {% block localbreadcrumb %} |
5 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} | 5 | {% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} |
6 | {% if target %} | 6 | {% if target %} |
7 | <li><a href="{% url "target" build.id target.id %}">{{target.target}}</a></li> | 7 | <li><a href="{% url "target" build.id target.id %}">{{target.target}}</a></li> |
8 | {% else %} | 8 | {% else %} |
@@ -13,7 +13,7 @@ | |||
13 | {% endblock localbreadcrumb %} | 13 | {% endblock localbreadcrumb %} |
14 | 14 | ||
15 | {% block pagedetailinfomain %} | 15 | {% block pagedetailinfomain %} |
16 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} | 16 | {% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} |
17 | 17 | ||
18 | <div class="row span11"> | 18 | <div class="row span11"> |
19 | <div class="page-header"> | 19 | <div class="page-header"> |
diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html index 00d42e76d1..71043ec1ac 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html | |||
@@ -2,13 +2,13 @@ | |||
2 | {% load projecttags %} | 2 | {% load projecttags %} |
3 | 3 | ||
4 | {% block title %} | 4 | {% block title %} |
5 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} | 5 | {% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} |
6 | <h1>{{fullPackageSpec}} <small>({{target.target}})</small></h1> | 6 | <h1>{{fullPackageSpec}} <small>({{target.target}})</small></h1> |
7 | {% endwith %} | 7 | {% endwith %} |
8 | {% endblock title %} | 8 | {% endblock title %} |
9 | 9 | ||
10 | {% block tabcontent %} | 10 | {% block tabcontent %} |
11 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %} | 11 | {% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %} |
12 | {% include "package_included_tabs.html" with active_tab="dependencies" %} | 12 | {% include "package_included_tabs.html" with active_tab="dependencies" %} |
13 | <div class="tab-content"> | 13 | <div class="tab-content"> |
14 | <div class="tab-pane active" id="dependencies"> | 14 | <div class="tab-pane active" id="dependencies"> |
diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_detail.html b/bitbake/lib/toaster/toastergui/templates/package_included_detail.html index af56b21b1e..df2588548c 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_detail.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_detail.html | |||
@@ -2,13 +2,13 @@ | |||
2 | {% load projecttags %} | 2 | {% load projecttags %} |
3 | 3 | ||
4 | {% block title %} | 4 | {% block title %} |
5 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} | 5 | {% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} |
6 | <h1>{{fullPackageSpec}} <small>({{target.target}})</small></h1> | 6 | <h1>{{fullPackageSpec}} <small>({{target.target}})</small></h1> |
7 | {% endwith %} | 7 | {% endwith %} |
8 | {% endblock title %} | 8 | {% endblock title %} |
9 | 9 | ||
10 | {% block tabcontent %} | 10 | {% block tabcontent %} |
11 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %} | 11 | {% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %} |
12 | {% include "package_included_tabs.html" with active_tab="detail" %} | 12 | {% include "package_included_tabs.html" with active_tab="detail" %} |
13 | <div class="tab-content"> | 13 | <div class="tab-content"> |
14 | <div class="tab-pane active" id="files"> | 14 | <div class="tab-pane active" id="files"> |
diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html index 8ae0af3a8a..d0edeb5a97 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html | |||
@@ -2,13 +2,13 @@ | |||
2 | {% load projecttags %} | 2 | {% load projecttags %} |
3 | 3 | ||
4 | {% block title %} | 4 | {% block title %} |
5 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} | 5 | {% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec %} |
6 | <h1>{{fullPackageSpec}} <small>({{target.target}})</small></h1> | 6 | <h1>{{fullPackageSpec}} <small>({{target.target}})</small></h1> |
7 | {% endwith %} | 7 | {% endwith %} |
8 | {% endblock title %} | 8 | {% endblock title %} |
9 | 9 | ||
10 | {% block tabcontent %} | 10 | {% block tabcontent %} |
11 | {% with fullPackageSpec=package.name|add:"-"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %} | 11 | {% with fullPackageSpec=package.name|add:"_"|add:package.version|add:"-"|add:package.revision|filtered_packagespec packageFileCount=package.buildfilelist_package.count %} |
12 | {% include "package_included_tabs.html" with active_tab="reverse" %} | 12 | {% include "package_included_tabs.html" with active_tab="reverse" %} |
13 | <div class="tab-content"> | 13 | <div class="tab-content"> |
14 | <div class="tab-pane active" id="brought-in-by"> | 14 | <div class="tab-pane active" id="brought-in-by"> |