[Patchew-devel] [PATCH 0/4] Render import/test status through Result objects

Paolo Bonzini pbonzini at redhat.com
Mon Apr 23 08:14:11 UTC 2018


This is the next step towards having Result as a first-class model.  Each
result object is built through the same callback used by the REST API,
and plugins use the result object to prepare the HTML rendering.  Finally,
the template adds the icon to the plugin's HTML.

Paolo Bonzini (4):
  add result renderer infrastructure
  git: add rendering of Results
  testing: add rendering of Results
  www: remove extra_status from series detail view, simplify in project
    detail

 api/models.py                     | 11 ++++--
 mods/git.py                       | 62 +++++++++++++++++--------------
 mods/testing.py                   | 34 +++++++----------
 static/css/base.css               |  4 +-
 www/templates/project-detail.html | 14 +++++--
 www/templates/series-detail.html  | 14 +++----
 www/views.py                      | 19 +++++++++-
 7 files changed, 93 insertions(+), 65 deletions(-)

-- 
2.17.0




More information about the Patchew-devel mailing list