diff --git a/bitbake/lib/toaster/toastergui/templates/projects.html b/bitbake/lib/toaster/toastergui/templates/projects.html index 88ee4bcd66..23340083ca 100644 --- a/bitbake/lib/toaster/toastergui/templates/projects.html +++ b/bitbake/lib/toaster/toastergui/templates/projects.html @@ -38,11 +38,11 @@ {% for o in objects %} {{o.name}} + {{o.updated|date:"d/m/y H:i"}} {{o.release.name}} {{o.get_current_machine_name}} {% if o.get_number_of_builds == 0 %} {{o.get_number_of_builds}} - @@ -50,7 +50,6 @@ {% else %} {{o.get_number_of_builds}} - {{o.updated|date:"d/m/y H:i"}} {%if o.get_last_outcome == build_SUCCEEDED%}{%elif o.get_last_outcome == build_FAILED%}{%else%}{%endif%} {{o.get_last_target}} {% if o.get_last_errors %}{{o.get_last_errors}} error{{o.get_last_errors|pluralize}}{%endif%} diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 9f35062925..4ebcf6d54f 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -3207,6 +3207,13 @@ if toastermain.settings.MANAGED: 'ordericon':_get_toggle_order_icon(request, "name"), 'orderkey' : 'name', }, + {'name': 'Last activity on', + 'clclass': 'updated', + 'qhelp': "Shows the starting date and time of the last project build. If the project has no builds, it shows the date the project was created", + 'orderfield': _get_toggle_order(request, "updated", True), + 'ordericon':_get_toggle_order_icon(request, "updated"), + 'orderkey' : 'updated', + }, {'name': 'Release', 'qhelp' : "The version of the build system used by the project", 'orderfield': _get_toggle_order(request, "release__name"), @@ -3219,24 +3226,19 @@ if toastermain.settings.MANAGED: {'name': 'Number of builds', 'qhelp': "How many builds have been run for the project", }, - {'name': 'Last build', 'clclass': 'updated', - 'orderfield': _get_toggle_order(request, "updated", True), - 'ordericon':_get_toggle_order_icon(request, "updated"), - 'orderkey' : 'updated', - }, - {'name': 'Last outcome', 'clclass': 'loutcome', + {'name': 'Last build outcome', 'clclass': 'loutcome', 'qhelp': "Tells you if the last project build completed successfully or failed", }, - {'name': 'Last target', 'clclass': 'ltarget', + {'name': 'Target', 'clclass': 'ltarget', 'qhelp': "The last project build target(s): one or more recipes or image recipes", }, - {'name': 'Last errors', 'clclass': 'lerrors', + {'name': 'Errors', 'clclass': 'lerrors', 'qhelp': "How many errors were encountered during the last project build (if any)", }, - {'name': 'Last warnings', 'clclass': 'lwarnings', + {'name': 'Warnings', 'clclass': 'lwarnings', 'qhelp': "How many warnigns were encountered during the last project build (if any)", }, - {'name': 'Last image files', 'clclass': 'limagefiles', 'hidden': 1, + {'name': 'Image files', 'clclass': 'limagefiles', 'hidden': 1, 'qhelp': "The root file system types produced by the last project build", }, ]