diff --git a/datasette/static/app.css b/datasette/static/app.css index f057ef1d..d3625b96 100644 --- a/datasette/static/app.css +++ b/datasette/static/app.css @@ -210,3 +210,10 @@ form input[type=submit] { margin-top: 0.6em; } } + +a.not-underlined { + text-decoration: none; +} +.not-underlined .underlined { + text-decoration: underline; +} diff --git a/datasette/templates/table.html b/datasette/templates/table.html index aba8b1e1..572a8819 100644 --- a/datasette/templates/table.html +++ b/datasette/templates/table.html @@ -1,6 +1,7 @@ {% extends "base.html" %} -{% block title %}{{ database }}: {{ table }}{% endblock %} +{% block title %}{{ database }}: {{ table }}: {% if filtered_table_rows or filtered_table_rows == 0 %}{{ "{:,}".format(filtered_table_rows) }} row{% if filtered_table_rows == 1 %}{% else %}s{% endif %}{% endif %} + {% if human_filter_description %}where {{ human_filter_description }}{% endif %}{% endblock %} {% block extra_head %}