Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Niedzielski <adamsunday@gmail.com>2016-08-04 08:56:06 +0300
committerAdam Niedzielski <adamsunday@gmail.com>2016-08-04 08:56:06 +0300
commitd0aa98bc5dc7228415f1eba2f61f75fa6406180a (patch)
tree03502dc857d0697d0183d8613af16c1752601247 /app/views/shared/members
parent28fc9088558300bbb671412baf0c3915421a0028 (diff)
Add Member#expires? method.
Diffstat (limited to 'app/views/shared/members')
-rw-r--r--app/views/shared/members/_member.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/members/_member.html.haml b/app/views/shared/members/_member.html.haml
index aea08eac086..88e9522b9cc 100644
--- a/app/views/shared/members/_member.html.haml
+++ b/app/views/shared/members/_member.html.haml
@@ -59,7 +59,7 @@
= time_ago_with_tooltip(member.requested_at)
- else
Joined #{time_ago_with_tooltip(member.created_at)}
- - if member.expires_at.present?
+ - if member.expires?
%span.prepend-left-20
Access expires #{member.expires_at.to_s(:medium)}