Sha256: c3b034127d14fd46a08f389304a25d98012e73d7fd4065f410bff4a885731eee

Contents?: true

Size: 875 Bytes

Versions: 4

Compression:

Stored size: 875 Bytes

Contents

- if task_logs.any?
  = re_card_content do
    %h5.section-title Logs
    %ul.list-unstyled#task-logs
      - task_logs.each do |task_log|
        %li.fs-13.row.mb-3
          .col.text-muted
            %i.bi.bi-journal-text
            = re_get_file_name(task_log)
          .col-3.text-end= link_to 'Download', task_log, target: :_blank, class: 'text-muted click2download'

= re_card_content id: 'activities-section' do
  %h5.section-title Activities
  %ul.list-unstyled
    - current_task.activities.descending.preload(:owner).each do |activitiy|
      %li.row
        .col
          = render_user_info(activitiy.owner, avatar_size: '20x20')
          %p.normal-text.mt-1= activitiy.message
        .col-3.text-end.activitiy-time
          %span.fs13px.text-muted= activitiy.created_at.strftime('%Y/%m/%d')
          %p.text-muted= activitiy.created_at.strftime('%H:%M')

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_execution-0.1.5 app/views/rails_execution/tasks/_activities.html.haml
rails_execution-0.1.4 app/views/rails_execution/tasks/_activities.html.haml
rails_execution-0.1.2 app/views/rails_execution/tasks/_activities.html.haml
rails_execution-0.1.1 app/views/rails_execution/tasks/_activities.html.haml