redmine-org-chart/app/views/departments/index.html.erb
ioresponse b50ab25083 Initial commit: Redmine Organization Chart Plugin
🤖 Generated with Claude Code
2025-12-23 00:21:49 +09:00

30 lines
906 B
Plaintext

<h2>조직도 관리</h2>
<p>
<%= link_to 'CEO 등록', new_department_path(type: 'ceo'), class: 'icon icon-add' %>
<%= link_to 'C-Level 추가', new_department_path(type: 'executive'), class: 'icon icon-add' %>
<%= link_to '본부 추가', new_department_path(type: 'division'), class: 'icon icon-add' %>
<%= link_to '팀 추가', new_department_path(type: 'team'), class: 'icon icon-add' %>
|
<%= link_to '조직도 보기', org_chart_view_path, class: 'icon icon-stats', target: '_blank' %>
</p>
<% if @departments.any? %>
<table class="list">
<thead>
<tr>
<th>부서명</th>
<th>유형</th>
<th>리더</th>
<th>구성원</th>
<th>작업</th>
</tr>
</thead>
<tbody>
<%= render_department_rows(@departments, 0) %>
</tbody>
</table>
<% else %>
<p class="nodata">등록된 부서가 없습니다. CEO를 먼저 등록하세요.</p>
<% end %>