diff options
Diffstat (limited to 'lib/toaster/toastergui/templates')
3 files changed, 25 insertions, 5 deletions
diff --git a/lib/toaster/toastergui/templates/package_detail_base.html b/lib/toaster/toastergui/templates/package_detail_base.html index 79f135cd9..6925aecb4 100644 --- a/lib/toaster/toastergui/templates/package_detail_base.html +++ b/lib/toaster/toastergui/templates/package_detail_base.html @@ -97,8 +97,8 @@ # decision on index search algorithm <a href="http://layers.openembedded.org" target="_blank"> <i class="icon-share get-info"></i> - {% endcomment %} </a> + {% endcomment %} {% endif %} </dd> diff --git a/lib/toaster/toastergui/templates/package_included_dependencies.html b/lib/toaster/toastergui/templates/package_included_dependencies.html index 71043ec1a..c76774ac9 100644 --- a/lib/toaster/toastergui/templates/package_included_dependencies.html +++ b/lib/toaster/toastergui/templates/package_included_dependencies.html @@ -23,12 +23,19 @@ </thead> <tbody> {% for runtime_dep in runtime_deps %} - <tr> + <tr {{runtime_dep.size|format_vpackage_rowclass}} > + {% if runtime_dep.size != -1 %} <td> <a href="{% url 'package_included_detail' build.id target.id runtime_dep.depends_on_id %}"> {{runtime_dep.name}} </a> </td> + {% else %} + <td> + {{runtime_dep.name|format_vpackage_namehelp}} + </td> + {% endif %} + <td>{{runtime_dep.version}}</td> <td>{{runtime_dep.size|filtered_filesizeformat}}</td> </tr> @@ -58,12 +65,18 @@ <tbody> {% for other_dep in other_deps %} {% if other_dep.installed %} - <tr> + <tr {{other_dep.size|format_vpackage_rowclass}}> + {% if other_dep.size != -1 %} <td> - <a href="{% url 'package_included_detail' build.id target.id other_dep.depends_on_id %}"> + <a href="{% url 'package_included_detail' build.id target.id other_dep.depends_on_id %}"> {{other_dep.name}} </a> </td> + {% else %} + <td> + {{other_dep.name|format_vpackage_namehelp}} + </td> + {% endif %} <td>{{other_dep.version}}</td> <td>{{other_dep.size|filtered_filesizeformat}}</td> <td> diff --git a/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html b/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html index 0eb39d3f4..8653ae0fe 100644 --- a/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html +++ b/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html @@ -28,12 +28,19 @@ </thead> <tbody> {% for reverse_dep in reverse_deps|dictsort:"name" %} - <tr> + <tr {{reverse_dep.size|format_vpackage_rowclass}} > + {% if reverse_dep.size != -1 %} <td> <a href="{% url 'package_included_detail' build.id target.id reverse_dep.dependent_id %}"> {{reverse_dep.name}} </a> </td> + {% else %} + <td> + {{reverse_dep.name|format_vpackage_namehelp}} + </td> + {% endif %} + <td>{{reverse_dep.version}}</td> <td>{{reverse_dep.size|filtered_filesizeformat}}</td> </tr> |