Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
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
6c6d57f5
authored
Oct 01, 2013
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: switch timesince and timeuntil
parent
b98d4527
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
circle/dashboard/tables.py
+2
-2
No files found.
circle/dashboard/tables.py
View file @
6c6d57f5
...
@@ -29,10 +29,10 @@ class VmListTable(Table):
...
@@ -29,10 +29,10 @@ class VmListTable(Table):
attrs
=
{
'th'
:
{
'class'
:
'vm-list-table-thin'
}},
attrs
=
{
'th'
:
{
'class'
:
'vm-list-table-thin'
}},
)
)
time_of_suspend
=
TemplateColumn
(
time_of_suspend
=
TemplateColumn
(
'{{ record.time_of_suspend|time
since
}}'
,
'{{ record.time_of_suspend|time
until
}}'
,
verbose_name
=
_
(
"Suspend in"
))
verbose_name
=
_
(
"Suspend in"
))
time_of_delete
=
TemplateColumn
(
time_of_delete
=
TemplateColumn
(
'{{ record.time_of_delete|time
since
}}'
,
'{{ record.time_of_delete|time
until
}}'
,
verbose_name
=
_
(
"Delete in"
))
verbose_name
=
_
(
"Delete in"
))
class
Meta
:
class
Meta
:
...
...
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