diff --git a/src/generators/html.cpp b/src/generators/html.cpp index 4bbfd80..1938258 100644 --- a/src/generators/html.cpp +++ b/src/generators/html.cpp @@ -87,10 +87,24 @@ void write_html(ostream &out, const vector &entries) { out << "\n"; out << "
\n"; - out << " " << entry.report_time.substr(0, 10) << ": " - << entry.instance << "\n"; - out << R"( "; + if (entry.unreachable) + { + out << ""; + } + out << entry.report_time.substr(0, 10) << ": " << entry.instance; + if (entry.unreachable) + { + out << ""; + } + out << "\n" + << R"( Hyperlink to this entry)" << '\n'; + if (entry.unreachable) + { + out << "

This instance is currently " + "unreachable.

\n"; + } out << "

" << cgi::text2html(entry.description) << "

\n"; out << "

Tags: "; for (const auto &tag : entry.tags)