Sha256: be8faa99501ccfdea23e35f84e99e04c29e4dc74da72bf0aeaa1f78e05d088d2

Contents?: true

Size: 958 Bytes

Versions: 5

Compression:

Stored size: 958 Bytes

Contents

%h2= "#{t(:client)}: #{@client}"

%ul.nav.nav-pills
  %li= link_to 'View Contacts', client_login_client_contacts_path(@client)

#client
  %table#client_details.table.table-striped
    %thead
      %tr
        %th= t(:projects)
        %th= t(:tickets)
        %th Current Month's Hours
        %th Current Week's Hours
        %th= t(:uninvoiced_hours)
        %th= t(:total_hours)
    %tfoot
      %tr
        %th= t(:all_projects)
        %th= @client.tickets.count
        %th= @client.hours_this_month
        %th= @client.hours_this_week
        %th= @client.uninvoiced_hours
        %th= @client.hours
    %tbody
      - @projects.each do |project|
        %tr{ :class => cycle("odd", "even") }
          %td= link_to project.name, client_login_project_path(project)
          %td= project.tickets.count
          %td= project.hours_this_month
          %td= project.hours_this_week
          %td= project.uninvoiced_hours
          %td= project.hours

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 app/views/client_login/clients/show.html.haml
xrono-1.0.3 app/views/client_login/clients/show.html.haml
xrono-1.0.2 app/views/client_login/clients/show.html.haml
xrono-1.0.1 app/views/client_login/clients/show.html.haml
xrono-1.0.0 app/views/client_login/clients/show.html.haml