Features:
- Custom workflow creation per project/tracker
- Step-by-step workflow definition
- Assignees per step (user, role group, department)
- Next/Previous step navigation
- Reject to first step
- Skip step (admin only)
- Step deadline settings
- Workflow dashboard
- Group member selection when proceeding
🤖 Generated with Claude Code
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
<h2>워크플로우 관리</h2>
|
|
|
|
<p>
|
|
<%= link_to '새 워크플로우', new_custom_workflow_path, class: 'icon icon-add' %>
|
|
</p>
|
|
|
|
<% if @workflows.any? %>
|
|
<table class="list">
|
|
<thead>
|
|
<tr>
|
|
<th>워크플로우명</th>
|
|
<th>프로젝트</th>
|
|
<th>트래커</th>
|
|
<th>단계 수</th>
|
|
<th>상태</th>
|
|
<th>작업</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @workflows.each do |wf| %>
|
|
<tr>
|
|
<td>
|
|
<strong><%= link_to wf.name, custom_workflow_path(wf) %></strong>
|
|
<% if wf.is_default %>
|
|
<span style="background: #28a745; color: white; padding: 1px 6px; border-radius: 3px; font-size: 10px; margin-left: 5px;">기본</span>
|
|
<% end %>
|
|
</td>
|
|
<td><%= wf.project&.name || '(모든 프로젝트)' %></td>
|
|
<td><%= wf.tracker&.name || '(모든 트래커)' %></td>
|
|
<td><%= wf.step_count %>개</td>
|
|
<td>
|
|
<% if wf.active %>
|
|
<span style="color: green;">활성</span>
|
|
<% else %>
|
|
<span style="color: #999;">비활성</span>
|
|
<% end %>
|
|
</td>
|
|
<td>
|
|
<%= link_to '관리', custom_workflow_path(wf), class: 'icon icon-edit' %>
|
|
<%= link_to '수정', edit_custom_workflow_path(wf), class: 'icon icon-edit' %>
|
|
<%= link_to '삭제', destroy_custom_workflow_path(wf), method: :delete,
|
|
data: { confirm: '정말 삭제하시겠습니까?' }, class: 'icon icon-del' %>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
<% else %>
|
|
<p class="nodata">등록된 워크플로우가 없습니다.</p>
|
|
<% end %>
|