105361584-ident changes

This commit is contained in:
Stas 2015-11-13 16:40:54 +02:00 committed by Matt Farnsworth
parent be64143db6
commit 71ea9dd961
2 changed files with 7 additions and 8 deletions

View file

@ -23,8 +23,13 @@ module ApplicationHelper
case ident_type
when 'birthday'
"#{ident} [#{ident_type}]"
else
"#{ident} [#{ident_country_code} #{ident_type}]"
else
if ident
"#{ident} [#{ident_country_code} #{ident_type}]"
else
"[No access]"
end
end
end