mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
dfb87d012c
commit
a5792a8c61
4 changed files with 25 additions and 7 deletions
|
|
@ -522,7 +522,7 @@ class RowTableShared(BaseView):
|
|||
# or to the simple or compound primary key
|
||||
if link_column:
|
||||
cells.append({
|
||||
'column': 'Link',
|
||||
'column': pks[0] if len(pks) == 1 else 'Link',
|
||||
'value': jinja2.Markup(
|
||||
'<a href="/{database}/{table}/{flat_pks_quoted}">{flat_pks}</a>'.format(
|
||||
database=database,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue