From: Mariano Lopez <mariano.lo...@linux.intel.com> Added a column in the recipes view that show the last time a recipe was updated when is not up-to-date
Signed-off-by: Mariano Lopez <mariano.lo...@linux.intel.com> --- templates/rrs/recipes.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html index ca3c93e..a69ff0f 100644 --- a/templates/rrs/recipes.html +++ b/templates/rrs/recipes.html @@ -76,6 +76,7 @@ <th class="version_column muted">Version</th> <th class="upstream_version_column muted">Upstream version</th> <th class="upstream_status_column span2">Upstream status</th> + <th class="last_updated_column">Last Updated</th> <th class="maintainer_column">Maintainer</th> <th class="summary_column muted span5">Summary</th> <th class="no_update_reason_column muted span5" style="display:none">No update reason</th> @@ -88,16 +89,24 @@ <td class="version_column">{{ r.version }}</td> <td class="upstream_version_column">{{ r.upstream_version }}</td> {% if r.upstream_status == "Up-to-date" %} - <td class="text-success" data-toggle="tooltip" title="{{r.outdated}}"> + <td class="text-success"> {% elif r.upstream_status == "Not updated" %} - <td class="text-error" data-toggle="tooltip" title="{{r.outdated}}"> + <td class="text-error"> {% elif r.upstream_status == "Can't be updated" %} - <td class="muted" data-toggle="tooltip" title="{{r.outdated}}"> + <td class="muted"> {% else %} - <td class="text-warning" data-toggle="tooltip" title="{{r.outdated}}"> + <td class="text-warning"> {% endif %} {{ r.upstream_status }} </td> + {% if r.outdated == "Up-to-date" %} + <td class="text-success"> + {% elif r.outdated == "Unknown" %} + <td class="text-warning"> + {% else %} + <td class="text-error"> + {% endif %} + {{r.outdated}}</td> <td class="maintainer_column">{{ r.maintainer_name }}</td> <td class="summary_column">{{ r.summary }}</td> <td class="no_update_reason_column" style="display:none">{{ r.no_update_reason }}</td> -- 1.9.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto