mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 09:43:36 +02:00
Merge pull request #164 from internetee/109361594-no_access_bug
109361594 no access bug
This commit is contained in:
commit
6f2fc39a44
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue