From 8878e328a73ac3839311ffd618b224bac56ee4d6 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Tue, 5 Jul 2016 18:13:34 +0300 Subject: [PATCH] Translate the CFP status --- app/views/management/conferences/show.html.slim | 15 ++++++++------- config/locales/bg.yml | 4 ++++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/app/views/management/conferences/show.html.slim b/app/views/management/conferences/show.html.slim index e5bbe36..7e67b6b 100644 --- a/app/views/management/conferences/show.html.slim +++ b/app/views/management/conferences/show.html.slim @@ -5,13 +5,14 @@ h1.page-header = @conference.title .pull-right - = t '.cfp_status' - - if @conference.call_for_participation.in_progress? - = link_to management_conference_call_for_participation_path(@conference), method: :delete, class: 'btn btn-sm btn-success cfp-toggle' - = icon 'dot-circle-o', '', class: 'fa-fw' - - else - = link_to management_conference_call_for_participation_path(@conference), method: :post, class: 'btn btn-sm btn-warning cfp-toggle' - = icon 'circle-o', class: 'fa-fw' + .small + => t '.cfp_status' + - if @conference.call_for_participation.in_progress? + = link_to management_conference_call_for_participation_path(@conference), method: :delete, class: 'btn btn-sm btn-success cfp-toggle' + = icon 'dot-circle-o', '', class: 'fa-fw' + - else + = link_to management_conference_call_for_participation_path(@conference), method: :post, class: 'btn btn-sm btn-warning cfp-toggle' + = icon 'circle-o', class: 'fa-fw' .row .col-lg-3.col-md-6 .panel.panel-primary diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 12bf8e5..fa94938 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -1,4 +1,8 @@ bg: + management: + conferences: + show: + cfp_status: 'Състояние на CFP:' abstract: "Резюме" helpers: submit: