Merge pull request #164 from internetee/109361594-no_access_bug

109361594 no access bug
This commit is contained in:
Timo Võhmar 2016-08-05 11:40:01 +03:00 committed by GitHub
commit 6f2fc39a44

View file

@ -22,12 +22,12 @@ module ApplicationHelper
case ident_type case ident_type
when 'birthday' when 'birthday'
"#{ident} [#{ident_type}]" "#{ident} [#{ident_country_code} #{ident_type}]"
else else
if ident.present? if ident.present?
"#{ident} [#{ident_country_code} #{ident_type}]" "#{ident} [#{ident_country_code} #{ident_type}]"
else else
"[No access]" "[#{ident_country_code} #{ident_type}]"
end end
end end