%h2= @page_title

%table.table.table-hover.table-condensed
  %thead
    %tr.warning
      %th= sortable 'name', _('Name')
      - FedoraRpm.fedora_versions.each do |t, g|
        %th= t
      %th= _('Upstream')
      %th= sortable 'commits', _('Commits')
      %th= sortable 'last_commit_date', _('Last Commit')
      %th= _('Patched?')
      %th= sortable 'owner', _('Owner')

  %tbody
    - @rpms.each do |rpm|
      - if rpm.up_to_date?
        %tr.success
      - else
        %tr.danger
        %td= link_to rpm.shortname.truncate(35), fedorarpm_path(rpm.name)
        -FedoraRpm.fedora_versions.each do |t, g|
          %td= rpm.version_for(t)
        %td= rpm.ruby_gem.version.truncate(8)
        %td= rpm.commits
        %td= rpm.last_commit_date_in_words
        %td
          - if rpm.any_patched?
            %span.glyphicon.glyphicon-ok
        %td
          - unless rpm.owner.nil?
            =link_to rpm.owner, fedorarpm_path(rpm.owner + '/by_owner')

%div.pagination
  = will_paginate @rpms

%h2= @page_title

%table.table.table-hover.table-condensed
  %thead
    %tr.warning
      %th= sortable 'name', _('Name')
      - FedoraRpm.fedora_versions.each do |t, g|
        %th= t
      %th= _('Upstream')
      %th= sortable 'commits', _('Commits')
      %th= sortable 'last_commit_date', _('Last Commit')
      %th= _('Patched?')
      %th= sortable 'owner', _('Owner')

  %tbody
    - @rpms.each do |rpm|
      - if rpm.up_to_date?
        %tr.success
      - else
        %tr.danger
        %td= link_to rpm.shortname.truncate(35), fedorarpm_path(rpm.name)
        -FedoraRpm.fedora_versions.each do |t, g|
          %td= rpm.version_for(t)
        %td= rpm.ruby_gem.version
        %td= rpm.commits
        %td= rpm.last_commit_date_in_words
        %td
          - if rpm.any_patched?
            %span.glyphicon.glyphicon-ok
        %td
          - unless rpm.owner.nil?
            =link_to rpm.owner, fedorarpm_path(rpm.owner + '/by_owner')

%div.pagination
  = will_paginate @rpms

Remove truncate, breaks commits sorting.
Remove truncate, breaks commits sorting.
