diff --git a/app/views/staffs/contact_networks/index.html.erb b/app/views/staffs/contact_networks/index.html.erb index 7947cd5..90ccb84 100644 --- a/app/views/staffs/contact_networks/index.html.erb +++ b/app/views/staffs/contact_networks/index.html.erb @@ -13,6 +13,9 @@ <%= ContactNetwork.human_attribute_name :name %> + + <%= ContactNetwork.human_attribute_name :contacts %> + @@ -22,6 +25,7 @@ <%= contact_network.codename %> <%= contact_network.name %> + <%= contact_network.contacts.count %> <% end %> diff --git a/config/locales/activerecord/en.yml b/config/locales/activerecord/en.yml index e651ee5..5a027b8 100644 --- a/config/locales/activerecord/en.yml +++ b/config/locales/activerecord/en.yml @@ -39,6 +39,7 @@ en: contact_network: id: ID codename: Codename + contacts: Contacts name: Name federal_subject: id: ID diff --git a/config/locales/activerecord/ru.yml b/config/locales/activerecord/ru.yml index 116d19d..2974195 100644 --- a/config/locales/activerecord/ru.yml +++ b/config/locales/activerecord/ru.yml @@ -39,6 +39,7 @@ ru: contact_network: id: ID codename: Кодовое имя + contacts: Контакты name: Название federal_subject: id: ID