From ff00f63b7cd097ded89fbc051f380a8b4efac424 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sun, 9 Oct 2016 04:04:05 +0300 Subject: [PATCH] Profile listing tweaks --- app/views/management/personal_profiles/index.html.slim | 2 +- config/locales/bg.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/management/personal_profiles/index.html.slim b/app/views/management/personal_profiles/index.html.slim index 1608da2..158028c 100644 --- a/app/views/management/personal_profiles/index.html.slim +++ b/app/views/management/personal_profiles/index.html.slim @@ -22,7 +22,7 @@ tbody - @users.each do |user| - profile = user.personal_profile(@conference) - tr + = content_tag :tr, class: profile.present? ? nil : 'warning' td .media .media-left diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 57503d9..d93361a 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -2,7 +2,7 @@ bg: management: personal_profiles: index: - no_profile: 'Този потребител няма въведени профили в системата.' + no_profile: 'Този потребител няма въведен профил за текущата конференция.' total: "%{current} от общо %{total}" conferences: show: