/ Chance
.col-md-4.col-xs-12.widget.widget_tally_box
  %button.x_panel.ui-ribbon-container.fixed_height_390{"data-target" => "#contact", "data-toggle" => "modal", :type => "button"}
    - if percent > 75
      .ui-ribbon-wrapper
        .ui-ribbon
          Prioritet
    / .x_title
    /   %h2= type
    /   .clearfix
    .x_content
      %div{style: "text-align: center; margin-bottom: 17px"}
        %span.chart{"data-percent" => percent}
          %span.percent= percent
          %canvas{height: "110", width: "110"}
      %h3.name_title= "#{name} #{type}"

      %br
      %div
        %ul.list-inline.widget_tally
          - @chance.factors.where(product: name).order(id: :desc).limit(3).each do |factor|
            %li
              %span.month
                = factor.title
              %span.count
                = factor.amount > 0 ? '+' : '-'
                = "#{factor.amount.abs}%"
      / %p Šansa za kupovinu
      / .divider
      / %p If you've decided to go in development mode and tweak all of this a bit, there are few things you should do.

/ Chance
.col-md-4.col-xs-12.widget.widget_tally_box
  %button.x_panel.ui-ribbon-container.fixed_height_390{"data-target" => "#contact", "data-toggle" => "modal", :type => "button"}
    - if percent > 75
      .ui-ribbon-wrapper
        .ui-ribbon
          Prioritet
    / .x_title
    /   %h2= type
    /   .clearfix
    .x_content
      %div{style: "text-align: center; margin-bottom: 17px"}
        %span.chart{"data-percent" => percent}
          %span.percent= percent
          %canvas{height: "110", width: "110"}
      %h3.name_title= "#{name} #{type}"

      %br
      %div
        %ul.list-inline.widget_tally
          - @chance.factors.where(product: name).order(id: :desc).limit(3).each do |factor|
            %li
              %span.month
                - if factor.title.include? 'kredit'
                  %i.fa.fa-bar-chart{style: "color: #3b5998;"}
                - else
                  %i.fa.fa-facebook-official{style: "color: #3b5998;"}
                = factor.title
              %span.count
                = factor.amount > 0 ? '+' : '-'
                = "#{factor.amount.abs}%"
      / %p Šansa za kupovinu
      / .divider
      / %p If you've decided to go in development mode and tweak all of this a bit, there are few things you should do.

Add font-awesome icons to factors
Add font-awesome icons to factors
