From dafc12423f37eb8ab65912de3cbbfb62afc4b06d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 14 Jun 2017 20:34:00 +0300 Subject: Minor style change for package version details and builds pages --- mod/mod-package-version-details.cxx | 6 +++--- mod/page.cxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'mod') diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index 7dc02d2..d1b6dfe 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -329,8 +329,8 @@ handle (request& rq, response& rs) // if (build_db_ != nullptr && ver.compare (wildcard_version, true) != 0) { - s << H3 << "Built" << ~H3 - << DIV(ID="built"); + s << H3 << "Builds" << ~H3 + << DIV(ID="builds"); timestamp now (timestamp::clock::now ()); transaction t (build_db_->begin ()); @@ -361,7 +361,7 @@ handle (request& rq, response& rs) b.toolchain_name + '-' + b.toolchain_version.string ()) << TR_VALUE ("config", - b.configuration + " / " + b.machine + " / " + + b.configuration + " / " + (b.target ? b.target->string () : "")) << TR_VALUE ("timestamp", ts) << TR_BUILD_RESULT (b, host, root) diff --git a/mod/page.cxx b/mod/page.cxx index 291dfb4..a7ec087 100644 --- a/mod/page.cxx +++ b/mod/page.cxx @@ -597,7 +597,7 @@ namespace brep << SPAN(CLASS="value"); if (build_.state == build_state::building) - s << "building | "; + s << SPAN(CLASS="building") << "building" << ~SPAN << " | "; else { // If no unsuccessful operation results available, then print the @@ -639,7 +639,7 @@ namespace brep if (build_.force == (build_.state == build_state::building ? force_state::forcing : force_state::forced)) - s << "pending"; + s << SPAN(CLASS="pending") << "pending" << ~SPAN; else s << A << HREF << force_rebuild_url (host_, root_, build_) << ~HREF -- cgit v1.1