Sha256: ebfaa272c6c1ec6e5e9cc9a05e09bf9c9d73b8f29c77924d8e828a177342d4aa

Contents?: true

Size: 929 Bytes

Versions: 5

Compression:

Stored size: 929 Bytes

Contents

%h2= "#{@ticket.client}: #{@ticket.project} - #{@ticket}"

%ul.nav.nav-pills
  %li= link_to "#{t(:client)}: #{@ticket.client}", client_login_client_path(@ticket.project.client)
  %li= link_to "#{t(:project)}: #{@ticket.project}", client_login_project_path(@ticket.project)

%p.ticket_description
  - if @ticket.description
    %h3 Ticket Description
    :kramdown
      #{@ticket.description}

%p.ticket_metrics
  - if @ticket.estimated_hours && @ticket.percentage_complete
    = image_tag Gchart.pie(:title => "Remaining Estimated Hours vs Hours Worked -- #{@ticket.percentage_complete}% complete",
      :size => '450x230', :bar_color => "76959c,364447", :data => [100 - @ticket.percentage_complete, @ticket.percentage_complete], :labels => ["Remaining Estimated", "Hours Worked"])
    %br/
    %b Estimated Hours:
    = @ticket.estimated_hours
    %b Hours Worked:
    = @ticket.hours

= render "client_login/work_unit_index"

Version data entries

5 entries across 5 versions & 1 rubygems

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