diff --git a/quarry/web/static/templates/compiled.js b/quarry/web/static/templates/compiled.js index 15db419..97e6da7 100644 --- a/quarry/web/static/templates/compiled.js +++ b/quarry/web/static/templates/compiled.js @@ -18,7 +18,16 @@ output += "\n "; } output += "\n ("; output += runtime.suppressValue(runtime.contextOrFrameLookup(context, frame, "rowcount"), env.opts.autoescape); -output += " rows)\n \n
"; +output += "\r\nError\r\n\r\n"; ; } else { if(runtime.contextOrFrameLookup(context, frame, "status") == "killed") { -output += "\nThis query took longer than 30 minutes to execute and was killed.\n"; +output += "\r\nThis query took longer than 30 minutes to execute and was killed.\r\n"; ; } else { if(runtime.contextOrFrameLookup(context, frame, "status") == "queued") { -output += "\nThis query is waiting to be executed\n"; +output += "\r\nThis query is waiting to be executed\r\n"; ; } else { if(runtime.contextOrFrameLookup(context, frame, "status") == "stopped") { -output += "\nThis query was stopped\n"; +output += "\r\nThis query was stopped\r\n"; ; } else { if(runtime.contextOrFrameLookup(context, frame, "status") == "running") { -output += "\nThis query is currently executing...\n"; +output += "\r\nThis query is currently executing...\r\n"; if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "extra")),"connection_id")) { -output += "\n\n"; +output += "\r\n\r\n"; ; } -output += "\n"; +output += "\r\n"; ; } ; @@ -155,14 +164,14 @@ output += "\n"; } ; } -output += "\n"; +output += "\r\n"; if(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "extra")),"replag")) { -output += "\n"; output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "extra")),"error"), env.opts.autoescape); -output += "\n"; +output += "
The database on which this query was executed has a synchronization delay with the wiki.\n This can be caused by maintenance or a database incident, and should be resolved soon. The database on which this query was executed has a synchronization delay with the wiki.\r\n This can be caused by maintenance or a database incident, and should be resolved soon.
\n Modifications that were made in the last ";
+output += "\r\nReplication lag
\r\n
\r\n Modifications that were made in the last ";
output += runtime.suppressValue(runtime.memberLookup((runtime.contextOrFrameLookup(context, frame, "extra")),"replag"), env.opts.autoescape);
-output += " on the wiki are not taken into account in the results below.
\n
\r\n