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>
This commit is contained in:
Belen Barros Pena
2014-03-16 14:42:28 +00:00
committed by Richard Purdie
parent a1e6fb2fcf
commit bb1e3de56d
2 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@
{% endif %}
<a href="{% url 'package_included_reverse_dependencies' build.id target.id package.id %}">
<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>
Reverse Runtime dependencies ({{reverse_count}})
Reverse runtime dependencies ({{reverse_count}})
</a>
</li>
</ul>

View File

@@ -93,10 +93,10 @@
{% with deps_count=deps|length %}
{% if deps_count > 0 %}
<a class="btn"
title="<a href='{% url "package_included_dependencies" build.id target.id package.id %}'>{{package.name}}</a> depends on"
title="<a href='{% url "package_included_dependencies" build.id target.id package.id %}'>{{package.name}}</a> dependencies"
data-content="<ul class='unstyled'>
{% for i in deps|dictsort:'depends_on.name' %}
<li><a href='{% url "package_included_dependencies" build.pk target.id i.depends_on.pk %}'>{{i.depends_on.name}}</a></li>
<li><a href='{% url "package_included_detail" build.pk target.id i.depends_on.pk %}'>{{i.depends_on.name}}</a></li>
{% endfor %}
</ul>">
{{deps_count}}
@@ -110,10 +110,10 @@
{% with rdeps_count=rdeps|length %}
{% if rdeps_count > 0 %}
<a class="btn"
title="<a href='{% url "package_included_reverse_dependencies" build.id target.id package.id %}'>{{package.name}}</a> is brought in by"
title="<a href='{% url "package_included_reverse_dependencies" build.id target.id package.id %}'>{{package.name}}</a> reverse dependencies"
data-content="<ul class='unstyled'>
{% for i in rdeps|dictsort:'package.name' %}
<li><a href='{% url "package_included_dependencies" build.id target.id i.package.id %}'>{{i.package.name}}</a></li>
<li><a href='{% url "package_included_detail" build.id target.id i.package.id %}'>{{i.package.name}}</a></li>
{% endfor %}
</ul>">
{{rdeps_count}}