|
|
|
|
@ -145,8 +145,11 @@
|
|
|
|
|
<div class="row">
|
|
|
|
|
<label class="col-sm-3 col-form-label text-sm-end" for="status">상태</label>
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
<c:if test='${currentUser.isAdmin()}'>
|
|
|
|
|
<div class="form-check form-check-inline mt-3">
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${currentUser.isAdmin()
|
|
|
|
|
or currentUser.hasAuthorities('ROLE_TASK_ADMIN')
|
|
|
|
|
or currentUser.hasAuthorities('ROLE_USER_MANAGE')}">
|
|
|
|
|
<div class="form-check form-check-inline mt-3">
|
|
|
|
|
<input name="status" value="P" type="radio" data-map="STTS" class="form-check-input"/>
|
|
|
|
|
<label class="form-check-label" for="approved">승인</label>
|
|
|
|
|
</div>
|
|
|
|
|
@ -158,11 +161,12 @@
|
|
|
|
|
<input name="status" value="D" type="radio" data-map="STTS" class="form-check-input"/>
|
|
|
|
|
<label class="form-check-label" for="removed">삭제</label>
|
|
|
|
|
</div>
|
|
|
|
|
</c:if>
|
|
|
|
|
<c:if test='${!currentUser.isAdmin()}'>
|
|
|
|
|
<input name="status" type="hidden" data-map="STTS" class="form-control" placeholder="상태"/>
|
|
|
|
|
<label class="col-form-label" for=STTS></label>
|
|
|
|
|
</c:if>
|
|
|
|
|
</c:when>
|
|
|
|
|
<c:otherwise>
|
|
|
|
|
<input name="status" type="hidden" data-map="STTS" class="form-control" placeholder="상태"/>
|
|
|
|
|
<label class="col-form-label" for=STTS></label>
|
|
|
|
|
</c:otherwise>
|
|
|
|
|
</c:choose>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|