diff --git a/app/views/management/events/_speaker.slim b/app/views/management/events/_speaker.slim index ddfb0ed..840a4c7 100644 --- a/app/views/management/events/_speaker.slim +++ b/app/views/management/events/_speaker.slim @@ -50,6 +50,8 @@ tr th = Event.human_attribute_name :title + th.text-center + = Event.human_attribute_name :rank th = Event.human_attribute_name :conference th @@ -60,6 +62,10 @@ - speaker.events_participated_in.where.not(id: @event.id).order(created_at: :desc).each do |event| tr td = event.title + td.text-center + - if event.conference.has_vote_results? + .large + .label.label-info = event.rank td = event.conference.title td span class="label label-lg label-#{proposition_status_class(event.status)}" diff --git a/app/views/management/personal_profiles/show.html.slim b/app/views/management/personal_profiles/show.html.slim index 19bf206..273738b 100644 --- a/app/views/management/personal_profiles/show.html.slim +++ b/app/views/management/personal_profiles/show.html.slim @@ -37,6 +37,8 @@ tr th = Event.human_attribute_name :title + th.text-center + = Event.human_attribute_name :rank th = Event.human_attribute_name :conference th @@ -47,6 +49,10 @@ - @user.events_participated_in.order(created_at: :desc).each do |event| tr td = event.title + td.text-center + - if event.conference.has_vote_results? + .large + .label.label-info = event.rank td = event.conference.title td span class="label label-lg label-#{proposition_status_class(event.status)}" diff --git a/config/locales/bg.yml b/config/locales/bg.yml index da0e0fe..8269395 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -124,6 +124,7 @@ bg: subtitle: "Подзаглавие" title: "Заглавие" track: "Поток от лекции" + rank: "Класиране" user: "Лектор" participants: "Участници" event_type: