clean up no data display on stats page

This commit is contained in:
Phil Olynyk 2019-01-31 12:44:57 -05:00
parent f004ea3636
commit 913f0da1ab

View File

@ -985,13 +985,14 @@ QString Statistics::GenerateHTML()
if (!havedata) { if (!havedata) {
html += "<div align=center><table class=curved height=100% "+table_width+">"; // html += "<div align=center><table class=curved height=100% "+table_width+">";
html += QString("<tr><td colspan=2 align=center>") + html += "<div align=center>";
"<img src='qrc:/icons/bob-v3.0.png' height=100px>" // html += QString("<tr><td align=center>") +
"<p><font size=+3>" + tr("I can haz data?!?") + "</font></p>"+ html += QString( "<p><font size=\"+3\"><br />" + tr("I can haz data?!?") + "</font></p>"+
"<p><i>"+tr("This lonely sleepy sheep has no data :(")+"</i></p>" "<p><img src='qrc:/icons/bob-v3.0.png' width=\"100\" height=\"100\"></p>"
"<p><i>"+tr("This lonely sleepy sheep has no data :(")+"</i></p>");
"</table></div>"; // "</table></div>";
html += htmlFooter(havedata); html += htmlFooter(havedata);
return html; return html;
} }