Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
synnefo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
synnefo
Commits
cd4789c3
Commit
cd4789c3
authored
11 years ago
by
Olga Brani
Browse files
Options
Downloads
Patches
Plain Diff
astakos: pep8 fixes
parent
523cedc8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
snf-astakos-app/astakos/im/tables.py
+5
-5
5 additions, 5 deletions
snf-astakos-app/astakos/im/tables.py
with
5 additions
and
5 deletions
snf-astakos-app/astakos/im/tables.py
+
5
−
5
View file @
cd4789c3
...
...
@@ -267,7 +267,7 @@ class UserProjectsTable(UserTable):
empty_values
=
(),
orderable
=
False
)
owner
=
tables
.
Column
(
verbose_name
=
_
(
"
Owner
"
),
accessor
=
'
application.owner
'
)
accessor
=
'
application.owner
'
)
membership_status
=
tables
.
Column
(
verbose_name
=
_
(
"
Status
"
),
empty_values
=
(),
orderable
=
False
)
...
...
@@ -315,8 +315,8 @@ class UserProjectsTable(UserTable):
return
mark_safe
(
str
(
members_count
)
+
append
)
class
Meta
:
sequence
=
(
'
name
'
,
'
membership_status
'
,
'
owner
'
,
'
issue_date
'
,
'
end_date
'
,
'
members_count_f
'
,
'
project_action
'
)
sequence
=
(
'
name
'
,
'
membership_status
'
,
'
owner
'
,
'
issue_date
'
,
'
end_date
'
,
'
members_count_f
'
,
'
project_action
'
)
attrs
=
{
'
id
'
:
'
projects-list
'
,
'
class
'
:
'
my-projects alt-style
'
}
template
=
"
im/table_render.html
"
empty_text
=
_
(
'
No projects
'
)
...
...
@@ -357,9 +357,9 @@ class ProjectMembersTable(UserTable):
check
=
tables
.
Column
(
accessor
=
"
person.id
"
,
verbose_name
=
mark_safe
(
input
),
orderable
=
False
)
email
=
tables
.
Column
(
accessor
=
"
person.email
"
,
verbose_name
=
_
(
'
Email
'
),
orderable
=
False
)
orderable
=
False
)
status
=
tables
.
Column
(
accessor
=
"
state
"
,
verbose_name
=
_
(
'
Status
'
),
orderable
=
False
)
orderable
=
False
)
project_action
=
RichLinkColumn
(
verbose_name
=
_
(
'
Action
'
),
extra_context
=
member_action_extra_context
,
orderable
=
False
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment