<commit_before>.tab      
  - if @client.loans.size > 0
    .graph
      = ofc2(450, 250, 'http://' + request.env['HTTP_HOST'] + url(:graph_data, :action => 'client', :id => @client.id, :scope_unit => 'months', :scope_size => 3) )
  %h1{:width => '50%' }== Client: <i>#{@client.name}</i>
  %table.narrow.form{ :style =>'width:50%' }
    %tr.odd
      %td{:rowspan => "15"}
        - if @client.picture.url=="/images/no_photo.jpg"
          = image_tag @client.picture.url(:thumb)
        - else
          %a.enlarge_image{:href => @client.picture.url(:original)}
            = image_tag @client.picture.url(:thumb)
      %td 
        Name
      %td
        %b
          = @client.name
        == (id: #{@client.id}, ref: #{@client.reference})
    %tr
      %td Spouse name
      %td
        = @client.spouse_name
    %tr.odd
      %td Manager
      %td= link_to @center.manager.name, resource(@center.manager)
    %tr
      %td At center
      %td
        = link_to @center.name, resource(@branch, @center)
        == (of branch #{link_to @branch.name, resource(@branch)})
        %br/
        %span.greytext
          center managed by:
          = link_to @center.branch.manager.name, resource(@center.manager)
    %tr
      %tdGroup name
      %td
        -if @client.client_group
          =@client.client_group.name
        -else
          Not associated with a group yet (
          =link_to('Edit', resource(@branch, @center, @client, :edit))
          to change)
    %tr
      %td
        Fees applicable<commit_msg>removed 'name'<commit_after>.tab      
  - if @client.loans.size > 0
    .graph
      = ofc2(450, 250, 'http://' + request.env['HTTP_HOST'] + url(:graph_data, :action => 'client', :id => @client.id, :scope_unit => 'months', :scope_size => 3) )
  %h1{:width => '50%' }== Client: <i>#{@client.name}</i>
  %table.narrow.form{ :style =>'width:50%' }
    %tr.odd
      %td{:rowspan => "15"}
        - if @client.picture.url=="/images/no_photo.jpg"
          = image_tag @client.picture.url(:thumb)
        - else
          %a.enlarge_image{:href => @client.picture.url(:original)}
            = image_tag @client.picture.url(:thumb)
      %td 
        Name
      %td
        %b
          = @client.name
        == (id: #{@client.id}, ref: #{@client.reference})
    %tr
      %td Spouse name
      %td
        = @client.spouse_name
    %tr.odd
      %td Manager
      %td= link_to @center.manager.name, resource(@center.manager)
    %tr
      %td At center
      %td
        = link_to @center.name, resource(@branch, @center)
        == (of branch #{link_to @branch.name, resource(@branch)})
        %br/
        %span.greytext
          center managed by:
          = link_to @center.branch.manager.name, resource(@center.manager)
    %tr
      %td
        Group
      %td
        -if @client.client_group
          =@client.client_group.name
        -else
          Not associated with a group yet (
          =link_to('Edit', resource(@branch, @center, @client, :edit))
          to change)
    %tr
      %td
        Fees applicable
{'fraction_non_alphanumeric': 0.16246315099901737, 'fraction_numerical': 0.010481493612839829, 'mean_word_length': 1.9941176470588236, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6791423', 'n_tokens_mistral': 1049, 'n_tokens_neox': 1021, 'n_words': 212}