Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
5
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e1682851
authored
Jan 25, 2022
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set template_name property at related tables meta class
parent
32dfeb71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
circle/dashboard/tables.py
+2
-0
No files found.
circle/dashboard/tables.py
View file @
e1682851
...
@@ -292,6 +292,7 @@ class UserKeyListTable(Table):
...
@@ -292,6 +292,7 @@ class UserKeyListTable(Table):
class
Meta
:
class
Meta
:
model
=
UserKey
model
=
UserKey
template_name
=
"django_tables2/table_no_page.html"
attrs
=
{
'class'
:
(
'table table-bordered table-striped table-hover'
),
attrs
=
{
'class'
:
(
'table table-bordered table-striped table-hover'
),
'id'
:
"profile-key-list-table"
}
'id'
:
"profile-key-list-table"
}
fields
=
(
'name'
,
'fingerprint'
,
'created'
,
'actions'
)
fields
=
(
'name'
,
'fingerprint'
,
'created'
,
'actions'
)
...
@@ -322,6 +323,7 @@ class ConnectCommandListTable(Table):
...
@@ -322,6 +323,7 @@ class ConnectCommandListTable(Table):
class
Meta
:
class
Meta
:
model
=
ConnectCommand
model
=
ConnectCommand
template_name
=
"django_tables2/table_no_page.html"
attrs
=
{
'class'
:
(
'table table-bordered table-striped table-hover'
),
attrs
=
{
'class'
:
(
'table table-bordered table-striped table-hover'
),
'id'
:
"profile-command-list-table"
}
'id'
:
"profile-command-list-table"
}
fields
=
(
'name'
,
'access_method'
,
'template'
,
'actions'
)
fields
=
(
'name'
,
'access_method'
,
'template'
,
'actions'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment