From fee3f93deacf302d9d49668068b3cf999bb2f1d1 Mon Sep 17 00:00:00 2001 From: Henare Degan Date: Thu, 19 Nov 2015 17:49:13 +1100 Subject: [PATCH] Remove commented out parts that have been translated Makes for a clearer diff to the original. --- app/views/policies/_page_header.uk.html.haml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/views/policies/_page_header.uk.html.haml b/app/views/policies/_page_header.uk.html.haml index 1b3cf075a..37ae99575 100644 --- a/app/views/policies/_page_header.uk.html.haml +++ b/app/views/policies/_page_header.uk.html.haml @@ -6,8 +6,6 @@ - if user_signed_in? = link_to_if policy, "Редагувати", edit_policy_path(policy), title: "Change title and definition of policy", class: "link-policy-edit btn btn-default btn-xs" = link_to "Нова політика", new_policy_path, class: "link-policy-new btn btn-primary btn-xs" - -# = link_to_if policy, "Edit", edit_policy_path(policy), title: "Change title and definition of policy", class: "link-policy-edit btn btn-default btn-xs" - -# = link_to "New policy", new_policy_path, class: "link-policy-new btn btn-primary btn-xs" %h1.col-md-9.col-lg-10.long-title = yield :title .lead.policytext.col-md-12= capitalise_initial_character policy.description @@ -17,9 +15,7 @@ .header-secondary-primary-block.subscribe-block = button_to watch_policy_path(policy), class: "btn btn-link fi-mail", form_class: "subscribe-button-form " + (current_user && current_user.watching?(policy) ? "subscribe-button-form-unsubscribe" : "subscribe-button-form-subscribe") do = (current_user && current_user.watching?(policy) ? "відмовитися" : "Підписатись") - -# = (current_user && current_user.watching?(policy) ? "Unsubscribe" : "Subscribe") - if policy.watches.count > 0 %span.subscriber-count.small #{policy.watches.count} підписників - -# = pluralize policy.watches.count, 'subscriber' = render "social_share"