diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2016-08-04 08:56:06 +0300 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2016-08-04 08:56:06 +0300 |
commit | d0aa98bc5dc7228415f1eba2f61f75fa6406180a (patch) | |
tree | 03502dc857d0697d0183d8613af16c1752601247 /app/views/shared/members | |
parent | 28fc9088558300bbb671412baf0c3915421a0028 (diff) |
Add Member#expires? method.
Diffstat (limited to 'app/views/shared/members')
-rw-r--r-- | app/views/shared/members/_member.html.haml | 2 |
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)} |