anchor.diff:              tr
                 th
                   span #{settings.locale.total}
  -              td 
  +              td
                 td.text-center #{(100 - parseFloat(distd.percent)).toFixed(2)}
         center
  -        div#pieChart(style="width:300px;height:305px;margin:0px;")
  -  .row.footer-margin+        canvas(id="wealthDonut", width="300", height="300")
  +  .row.footer-margin
  
positive.code:         li(role='presentation')
            a(href='#received', aria-controls='received', role='tab', data-toggle='tab') Received
      .tab-content
        #balance.tabpanel.tab-pane.active 
          include ./includes/rl_balance.jade
        #received.tabpanel.tab-pane
          include ./includes/rl_received.jade
  
negative.code: extends layout
  
  block content
    script.
      $(document).ready(function(){
        var data = [
          {
            label: 'Top 1-25',
            value: !{dista.percent},
            color: "#d9534f"
          },
          {
            label: 'Top 26-50',
            value : !{distb.percent},
            color : "#5cb85c"
          },
          {
            label: 'Top 51-75',
            value : !{distc.percent},
            color : "#428bca"
          },
          {
            label: 'Top 76-100',
            value : !{distd.percent},
            color : "#222"
          },
          {
            label: '101+',
            value : !{diste.percent},
            color : "#222"
          }
        ];
        var ctx = document.getElementById("wealthDonut").getContext("2d");
        new Chart(ctx).Doughnut(data);
      });
    .col-xs-12.col-md-8
      .tabpanel
        ul.nav.nav-tabs(role='tablist')
  