mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Ability to easily customize _rows_and_columns.html per database table
Also added documentation for this. Refs #158, Closes #159.
This commit is contained in:
parent
afbda9e210
commit
7e1ba161ec
4 changed files with 78 additions and 4 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
<p>This data as <a href="{{ url_json }}">.json</a>, <a href="{{ url_jsono }}">.jsono</a></p>
|
||||
|
||||
{% include "_rows_and_columns.html" %}
|
||||
{% include custom_rows_and_columns_templates %}
|
||||
|
||||
{% if foreign_key_tables %}
|
||||
<h2>Links from other tables</h2>
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
|
||||
<p>This data as <a href="{{ url_json }}">.json</a>, <a href="{{ url_jsono }}">.jsono</a></p>
|
||||
|
||||
{% include "_rows_and_columns.html" %}
|
||||
{% include custom_rows_and_columns_templates %}
|
||||
|
||||
{% if next_url %}
|
||||
<p><a href="{{ next_url }}">Next page</a></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue