diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-03-16 14:42:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-01 10:22:42 +0100 |
commit | bb1e3de56df7a916a50c1ece40ca45c69dc5a763 (patch) | |
tree | a70580540ecc4bc944332e2005d29636083a0dae | |
parent | a1e6fb2fcfc768755c39c2e1f156f0bedb88b592 (diff) | |
download | poky-bb1e3de56df7a916a50c1ece40ca45c69dc5a763.tar.gz |
bitbake: toaster: Small tweaks to the packages included interface
* Capitalise correctly the label "Reverse runtime dependencies"
* Change dependency popover labels to match the rest of the
interface
* Make sure that dependency links go to the initial tab
of the installed package details pages
(Bitbake rev: 80df010c12f7ba19649a7bbda9d788217cabc57a)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/package_included_tabs.html | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/target.html | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_tabs.html b/bitbake/lib/toaster/toastergui/templates/package_included_tabs.html index 5a97ba36b3..3ea49152ac 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_tabs.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_tabs.html | |||
@@ -27,7 +27,7 @@ | |||
27 | {% endif %} | 27 | {% endif %} |
28 | <a href="{% url 'package_included_reverse_dependencies' build.id target.id package.id %}"> | 28 | <a href="{% url 'package_included_reverse_dependencies' build.id target.id package.id %}"> |
29 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The package runtime reverse dependencies (i.e. which other packages in this image depend on this package). Reverse dependencies reflect only the 'depends' dependency type"></i> | 29 | <i class="icon-question-sign get-help" data-toggle="tooltip" title="The package runtime reverse dependencies (i.e. which other packages in this image depend on this package). Reverse dependencies reflect only the 'depends' dependency type"></i> |
30 | Reverse Runtime dependencies ({{reverse_count}}) | 30 | Reverse runtime dependencies ({{reverse_count}}) |
31 | </a> | 31 | </a> |
32 | </li> | 32 | </li> |
33 | </ul> | 33 | </ul> |
diff --git a/bitbake/lib/toaster/toastergui/templates/target.html b/bitbake/lib/toaster/toastergui/templates/target.html index ceffada081..5db0c0ccb5 100644 --- a/bitbake/lib/toaster/toastergui/templates/target.html +++ b/bitbake/lib/toaster/toastergui/templates/target.html | |||
@@ -93,10 +93,10 @@ | |||
93 | {% with deps_count=deps|length %} | 93 | {% with deps_count=deps|length %} |
94 | {% if deps_count > 0 %} | 94 | {% if deps_count > 0 %} |
95 | <a class="btn" | 95 | <a class="btn" |
96 | title="<a href='{% url "package_included_dependencies" build.id target.id package.id %}'>{{package.name}}</a> depends on" | 96 | title="<a href='{% url "package_included_dependencies" build.id target.id package.id %}'>{{package.name}}</a> dependencies" |
97 | data-content="<ul class='unstyled'> | 97 | data-content="<ul class='unstyled'> |
98 | {% for i in deps|dictsort:'depends_on.name' %} | 98 | {% for i in deps|dictsort:'depends_on.name' %} |
99 | <li><a href='{% url "package_included_dependencies" build.pk target.id i.depends_on.pk %}'>{{i.depends_on.name}}</a></li> | 99 | <li><a href='{% url "package_included_detail" build.pk target.id i.depends_on.pk %}'>{{i.depends_on.name}}</a></li> |
100 | {% endfor %} | 100 | {% endfor %} |
101 | </ul>"> | 101 | </ul>"> |
102 | {{deps_count}} | 102 | {{deps_count}} |
@@ -110,10 +110,10 @@ | |||
110 | {% with rdeps_count=rdeps|length %} | 110 | {% with rdeps_count=rdeps|length %} |
111 | {% if rdeps_count > 0 %} | 111 | {% if rdeps_count > 0 %} |
112 | <a class="btn" | 112 | <a class="btn" |
113 | title="<a href='{% url "package_included_reverse_dependencies" build.id target.id package.id %}'>{{package.name}}</a> is brought in by" | 113 | title="<a href='{% url "package_included_reverse_dependencies" build.id target.id package.id %}'>{{package.name}}</a> reverse dependencies" |
114 | data-content="<ul class='unstyled'> | 114 | data-content="<ul class='unstyled'> |
115 | {% for i in rdeps|dictsort:'package.name' %} | 115 | {% for i in rdeps|dictsort:'package.name' %} |
116 | <li><a href='{% url "package_included_dependencies" build.id target.id i.package.id %}'>{{i.package.name}}</a></li> | 116 | <li><a href='{% url "package_included_detail" build.id target.id i.package.id %}'>{{i.package.name}}</a></li> |
117 | {% endfor %} | 117 | {% endfor %} |
118 | </ul>"> | 118 | </ul>"> |
119 | {{rdeps_count}} | 119 | {{rdeps_count}} |