Sha256: 5d52b7579faadf13a104cc01c2c44a870abfbeab11a351415966eb17d9917047

Contents?: true

Size: 990 Bytes

Versions: 57

Compression:

Stored size: 990 Bytes

Contents

table
  thead
    tr
      th
        = sortable_column Dorsale::Flyboy::Folder.t, column: "name"
      th.hidden-xs
        = sortable_column Dorsale::Flyboy::Folder.t(:progress), column: "progress"
      th.hidden-xs
        = sortable_column Dorsale::Flyboy::Folder.t(:status), column: "status"
      th
        = t("actions.actions")

  tbody
    - folders.each do |folder|
      tr.folder class=folder_color(folder)
        td.name
          - if can? :read, folder
            = link_to folder.name, dorsale.flyboy_folder_path(folder)
          - else
            = folder.name

        td.folder_progress.hidden-xs
          = progress_bar percentage: folder.progress, label: true

        td.status.hidden-xs
          = t("messages.folders.status.#{folder.status}")

        td.actions
          - if can? :create, Dorsale::Flyboy::Task.new(taskable: folder)
            = create_button dorsale.new_flyboy_task_path(taskable_guid: folder.guid), text: t("actions.folders.new_task")

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
dorsale-3.0.3 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-3.0.2 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-3.0.1 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-3.0.0 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.7.3 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.7.2 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.7.1 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.7.0 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.8 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.7 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.6 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.5 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.4 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.3 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.2 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.1 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.6.0 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.5.0 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.4.3 app/views/dorsale/flyboy/folders/_list.html.slim
dorsale-2.4.2 app/views/dorsale/flyboy/folders/_list.html.slim