Add truncate for domain name #2122

This commit is contained in:
Martin Lensment 2015-08-11 18:11:36 +03:00
parent 3a3a696035
commit e42a50dc4c

View file

@ -70,7 +70,7 @@
%tbody
- @domains.each do |x|
%tr
%td= link_to(x, info_registrar_domains_path(domain_name: x.name))
%td= link_to(truncate(x.name), info_registrar_domains_path(domain_name: x.name))
%td
- if x.registrant
= link_to(x.registrant, registrar_contact_path(id: x.registrant.code))