Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
7cd1b510
Commit
7cd1b510
authored
Feb 28, 2017
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary variable
parent
1a36b181
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/views/shared/members/_member.html.haml
app/views/shared/members/_member.html.haml
+1
-2
No files found.
app/views/shared/members/_member.html.haml
View file @
7cd1b510
...
...
@@ -24,7 +24,6 @@
=
link_to
source
.
full_name
,
source
,
class:
"member-group-link"
.hidden-xs.cgray
-
expires_soon
=
member
.
expires_soon?
-
if
member
.
request?
Requested
=
time_ago_with_tooltip
(
member
.
requested_at
)
...
...
@@ -32,7 +31,7 @@
Joined
#{
time_ago_with_tooltip
(
member
.
created_at
)
}
-
if
member
.
expires?
·
%span
{
class:
"#{"
text
-
warning
" if
expires_soon
} has-tooltip"
,
title:
member
.
expires_at
.
to_time
.
in_time_zone
.
to_s
(
:medium
)
}
%span
{
class:
"#{"
text
-
warning
" if
member.expires_soon?
} has-tooltip"
,
title:
member
.
expires_at
.
to_time
.
in_time_zone
.
to_s
(
:medium
)
}
Expires in
#{
distance_of_time_in_words_to_now
(
member
.
expires_at
)
}
-
else
...
...
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