From 9ea4a2d0385d48a0713a5bbc3c1a8967e10baae1 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 월, 20 12월 2021 11:00:50 +0900 Subject: [PATCH] 이슈 히스토리 하위이슈 문구 중복되는 문제 해결 --- src/main/webapp/views/issue/issueDetail.html | 61 ++++++++++++++++-------------- 1 files changed, 33 insertions(+), 28 deletions(-) diff --git a/src/main/webapp/views/issue/issueDetail.html b/src/main/webapp/views/issue/issueDetail.html index 0aa3b15..f5f0777 100644 --- a/src/main/webapp/views/issue/issueDetail.html +++ b/src/main/webapp/views/issue/issueDetail.html @@ -699,40 +699,45 @@ <!--<h6 ng-if="activeHistory.issueHistoryType == 'TOTAL'" translate="issue.summaryIssueActivity">�씠�뒋 �솢�룞 �궡�뿭 �슂�빟 <i class="os-icon os-icon-arrow-down"></i></h6>--> - <div dom-append dom="activeHistory.description"></div> + <div ng-if="!$root.isDefined(activeHistory.desc)" dom-append dom="activeHistory.description"></div> + <div ng-if="$root.isDefined(activeHistory.desc)" dom-append dom="activeHistory.desc"></div> </div> <!-- �뙎湲��씤 寃쎌슦 --> <div ng-if="!$root.isDefined(activeHistory.issueHistoryType)" ng-show="vm.viewer.title !== activeHistory.title"> <span class="dot"> - �븯�쐞�씠�뒋 : {{::activeHistory.title}} + *�븯�쐞�씠�뒋 : {{::activeHistory.title}} </span> </div> - <div class="aei-image" style="position: absolute; top: 30%" ng-if="!$root.isDefined(activeHistory.issueHistoryType)"> - <div class="user-avatar-w"> - <img alt="image" ng-src="{{::activeHistory.profile}}"> - </div> + <div class="aei-image" style="position: absolute; top: 30%" ng-if="!$root.isDefined(activeHistory.issueHistoryType)"> + <div class="user-avatar-w"> + <img ng-show="vm.viewer.title !== activeHistory.title" + style="margin-top: 15px" alt="image" ng-src="{{::activeHistory.profile}}"> + <img ng-show="vm.viewer.title === activeHistory.title" + alt="image" ng-src="{{::activeHistory.profile}}"> </div> - - + </div> <div class="aei-content" ng-if="!$root.isDefined(activeHistory.issueHistoryType)"> - <h6 class="aei-title mt-1" style="margin-left: 3.3%"> + <h6 class="aei-title mt-1 ml-3per"> {{::activeHistory.registerName}} </h6> - <div class="date-break mt-2" style="margin-left: 3.3%"> + <div class="date-break mt-2 ml-3per"> <span>{{::activeHistory.registerDate}}</span> </div> <div class="aei-delete" - ng-click="fn.removeComment(comment)" - ng-show="$root.user.id == comment.registerId"> + ng-click="fn.removeComment(activeHistory)" + ng-show="vm.viewer.modifyPermissionCheck || $root.user.id === activeHistory.registerId"> <i class="os-icon os-icon-close"></i> </div> <div class="chat-messages"> - <div class="message" style="margin-left: 3.3%"> + <div class="message ml-3per"> <div class="message-content"> <span class="issue-detail-word-break">{{::activeHistory.description}}</span> </div> + <!--<div class="message-content" ng-if="activeHistory.desc === null"> + <span class="issue-detail-word-break">{{::activeHistory.desc}}</span> + </div>--> </div> </div> @@ -761,7 +766,7 @@ </div> <div class="aei-delete" ng-click="fn.removeComment(comment)" - ng-show="$root.user.id == comment.registerId"> + ng-show="vm.viewer.modifyPermissionCheck || $root.user.id == comment.registerId"> <i class="os-icon os-icon-close"></i> </div> <div class="chat-messages"> @@ -781,7 +786,7 @@ 湲곕줉�씠 �뾾�뒿�땲�떎. </div> - <div class="ae-item row" ng-repeat="issueHistory in vm.viewer.activeParentHistory"> + <div class="ae-item" ng-repeat="issueHistory in vm.viewer.activeParentHistory"> <!--<h6 ng-if="issueHistory.issueHistoryType == 'TOTAL'" translate="issue.summaryIssueActivity">�씠�뒋 �솢�룞 �궡�뿭 �슂�빟 <i class="os-icon os-icon-arrow-down"></i> @@ -797,19 +802,19 @@ </div> <div class="aei-content" ng-if="!$root.isDefined(issueHistory.issueHistoryType)"> - <h6 class="aei-title mt-1" style="margin-left: 3.3%"> + <h6 class="aei-title mt-1 ml-3per"> {{::issueHistory.registerName}} </h6> - <div class="date-break mt-2" style="margin-left: 3.3%"> + <div class="date-break mt-2 ml-3per"> <span>{{::issueHistory.registerDate}}</span> </div> <div class="aei-delete" - ng-click="fn.removeComment(comment)" - ng-show="$root.user.id == comment.registerId"> + ng-click="fn.removeComment(issueHistory)" + ng-show="vm.viewer.modifyPermissionCheck || $root.user.id == issueHistory.registerId"> <i class="os-icon os-icon-close"></i> </div> <div class="chat-messages"> - <div class="message" style="margin-left: 3.3%"> + <div class="message ml-3per"> <div class="message-content"> <span class="issue-detail-word-break">{{::issueHistory.description}}</span> </div> @@ -826,29 +831,29 @@ <div class="ae-item row" ng-repeat="issueDownHistory in vm.viewer.activeDownAllHistory"> <!-- 湲곕줉�씤 寃쎌슦 --> <div class="aei-content" ng-if="$root.isDefined(issueDownHistory.issueHistoryType)"> - <div dom-append dom="issueDownHistory.description"></div> + <div dom-append dom="issueDownHistory.desc"></div> </div> <!-- �뙎湲��씤 寃쎌슦 --> - <div class="aei-content" ng-if="!$root.isDefined(issueDownHistory.issueHistoryType)"> + <div class="aei-content pb-3" ng-if="!$root.isDefined(issueDownHistory.issueHistoryType)"> <div class="dot"> - �븯�쐞�씠�뒋 : {{::issueDownHistory.title}} + *�븯�쐞�씠�뒋 : {{::issueDownHistory.title}} </div> </div> <div class="aei-image" style="position: absolute; top: 30%" ng-if="!$root.isDefined(issueDownHistory.issueHistoryType)"> <div class="user-avatar-w "> - <img alt="image" ng-src="{{::issueDownHistory.profile}}"> + <img style="margin-top: 15px" alt="image" ng-src="{{::issueDownHistory.profile}}"> </div> </div> <div class="aei-content" ng-if="!$root.isDefined(issueDownHistory.issueHistoryType)"> - <h6 class="aei-title mt-1" style="margin-left: 3.3%"> + <h6 class="aei-title mt-1 ml-3per"> {{::issueDownHistory.registerName}} </h6> <div class="date-break mt-2" style="margin-left: 3.3%"> <span>{{::issueDownHistory.registerDate}}</span> </div> <div class="aei-delete" - ng-click="fn.removeComment(comment)" - ng-show="$root.user.id == comment.registerId"> + ng-click="fn.removeComment(issueDownHistory)" + ng-show="vm.viewer.modifyPermissionCheck || $root.user.id == issueDownHistory.registerId"> <i class="os-icon os-icon-close"></i> </div> <div class="chat-messages"> @@ -888,7 +893,7 @@ </div> <div class="aei-delete" ng-click="fn.removeComment(comment)" - ng-show="$root.user.id == comment.registerId"> + ng-show="vm.viewer.modifyPermissionCheck || $root.user.id == comment.registerId"> <i class="os-icon os-icon-close"></i> </div> <div class="chat-messages"> -- Gitblit v1.8.0