aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-04-05 18:35:35 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-04-05 18:35:35 +0100
commitc257348c5a11db6331ea6c8cfd81a53148f93020 (patch)
tree9f5d7d1635d941d41198ac5df1cc0c7b58c6505b /templates
parentb3a8b19eb404e5ce6184cba2a3140e038bb9d1e9 (diff)
downloadopenembedded-core-contrib-c257348c5a11db6331ea6c8cfd81a53148f93020.tar.gz
detail: ensure machine list is sorted by name
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/layerindex/detail.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/layerindex/detail.html b/templates/layerindex/detail.html
index 668f4404a9..a1ebae44b1 100644
--- a/templates/layerindex/detail.html
+++ b/templates/layerindex/detail.html
@@ -150,7 +150,7 @@
</div> <!-- end of row-fluid -->
</div> <!-- end of container-fluid -->
- {% if layerbranch.machine_set.count > 0 %}
+ {% if machines.count > 0 %}
<div class="container-fluid" style="margin-bottom:1em;">
<div class="row-fluid">
<div class="navbar">
@@ -161,7 +161,7 @@
<table class="table table-bordered">
<tbody>
- {% for machine in layerbranch.machine_set.all %}
+ {% for machine in machines %}
<tr>
<td><a href="{{ machine.vcs_web_url }}">{{ machine.name }}</a></td>
<td>{{ machine.description }}</td>