Sha256: c102be99dd4556ff9e97c7529d02884fe803d700706cf14b68d946a2159360c6
Contents?: true
Size: 1.23 KB
Versions: 8
Compression:
Stored size: 1.23 KB
Contents
table#folders-list thead tr th.folder-status = sortable_column Dorsale::Flyboy::Folder.t(:status), column: "status" th.folder-progress.hidden-xs.hidden-xs = sortable_column Dorsale::Flyboy::Folder.t(:progress), column: "progress" th.folder-name = sortable_column Dorsale::Flyboy::Folder.t, column: "name" th.actions = t("actions.actions") tbody - folders.each do |folder| tr.folder class=folder_color(folder) td.folder-status - if folder.status.to_s == "open" = icon(:unlock) - elsif folder.status.to_s == "closed" = icon(:lock) - else = icon(:question) = " " = folder.t("status.#{folder.status}") td.folder-progress.hidden-xs = progress_bar percentage: folder.progress, label: true td.folder-name - if policy(folder).read? = link_to folder.name, dorsale.flyboy_folder_path(folder) - else = folder.name td.actions - if policy(Dorsale::Flyboy::Task.new(taskable: folder)).create? = create_button dorsale.new_flyboy_task_path(taskable_guid: folder.guid), text: t("actions.new_task")
Version data entries
8 entries across 8 versions & 1 rubygems