diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2015-07-09 15:33:34 -0500 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:52 +1200 |
commit | b833550285ec58a54131ae8c8adb21104c7b35fa (patch) | |
tree | 3a3fa13d1cb2c84bd9c8234d8c909ccdd2eb7c3c | |
parent | 45ba3a280de7a903909fc48e542484fe0c266a8c (diff) | |
download | openembedded-core-contrib-b833550285ec58a54131ae8c8adb21104c7b35fa.tar.gz |
recipes.html: Add Last Updated column
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.lopez@linux.intel.com>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
-rw-r--r-- | templates/rrs/recipes.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html index ca3c93ebee..a69ff0ff59 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> |