Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion quarry/web/static/templates/compiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@ output += "\n ";
}
output += "\n (";
output += runtime.suppressValue(runtime.contextOrFrameLookup(context, frame, "rowcount"), env.opts.autoescape);
output += " rows)\n </div>\n <div class='col-md-4'>\n <div class=\"btn-group pull-right\">\n <button type=\"button\" class=\"btn btn-info btn-xs dropdown-toggle\" data-toggle=\"dropdown\">\n Download data <span class=\"caret\"></span>\n </button>\n <ul class=\"dropdown-menu\" role=\"menu\">\n ";
output += " ";
if(runtime.contextOrFrameLookup(context, frame, "rowcount") == 1) {
output += "row";
;
}
else {
output += "rows";
;
}
output += ")\n </div>\n <div class='col-md-4'>\n <div class=\"btn-group pull-right\">\n <button type=\"button\" class=\"btn btn-info btn-xs dropdown-toggle\" data-toggle=\"dropdown\">\n Download data <span class=\"caret\"></span>\n </button>\n <ul class=\"dropdown-menu\" role=\"menu\">\n ";
frame = frame.push();
var t_3 = {"tsv": "TSV","json": "JSON","json-lines": "JSON Lines","csv": "CSV","wikitable": "Wikitable","html": "HTML"};
if(t_3) {var t_1;
Expand Down
2 changes: 1 addition & 1 deletion quarry/web/static/templates/query-resultset.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% else %}
Resultset {{ resultset_number }}
{% endif %}
({{rowcount}} rows)
({{ rowcount }} {% if rowcount == 1 %}row{% else %}rows{% endif %})
</div>
<div class='col-md-4'>
<div class="btn-group pull-right">
Expand Down
Loading