summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-03-16 14:42:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-04-01 10:22:17 +0100
commit80df010c12f7ba19649a7bbda9d788217cabc57a (patch)
tree207bd00ea4d7a1395f6a19f8fc43543f0187fdc1
parent263eae9d2d7acf62240320765c80f60f3553f620 (diff)
downloadbitbake-80df010c12f7ba19649a7bbda9d788217cabc57a.tar.gz
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 Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
-rw-r--r--lib/toaster/toastergui/templates/package_included_tabs.html2
-rw-r--r--lib/toaster/toastergui/templates/target.html8
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/toaster/toastergui/templates/package_included_tabs.html b/lib/toaster/toastergui/templates/package_included_tabs.html
index 5a97ba36b..3ea49152a 100644
--- a/lib/toaster/toastergui/templates/package_included_tabs.html
+++ b/lib/toaster/toastergui/templates/package_included_tabs.html
@@ -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>
diff --git a/lib/toaster/toastergui/templates/target.html b/lib/toaster/toastergui/templates/target.html
index ceffada08..5db0c0ccb 100644
--- a/lib/toaster/toastergui/templates/target.html
+++ b/lib/toaster/toastergui/templates/target.html
@@ -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}}