-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MNT-24575] Addressed Code review comments
- Loading branch information
1 parent
40d3eee
commit f26b34f
Showing
6 changed files
with
161 additions
and
81 deletions.
There are no files selected for viewing
60 changes: 28 additions & 32 deletions
60
projects/aca-content/src/lib/dialogs/folder-details/folder-information.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,32 @@ | ||
<div class="aca-folder-info-container"> | ||
<div class="aca-folder-info-header"> | ||
<div class="aca-folder-icon"> | ||
<img alt="{{ 'APP.FOLDER_INFO.ICON' | translate }}" src="{{ folderDetails.icon }}"> | ||
</div> | ||
<div class="aca-folder-title" data-automation-id="folder-info-name">{{ folderDetails.name }}</div> | ||
<div class="aca-folder-info-header"> | ||
<img alt="{{ 'APP.FOLDER_INFO.ICON' | translate }}" ngSrc="{{ folderDetails.icon }}" width="24" height="24"> | ||
<div class="aca-folder-title" data-automation-id="folder-info-name">{{ folderDetails.name }}</div> | ||
</div> | ||
<mat-divider/> | ||
<div class="aca-folder-info-body"> | ||
<div class="aca-folder-info-item"> | ||
<div class="aca-folder-info-item-label">{{ 'APP.FOLDER_INFO.SIZE' | translate }}</div> | ||
<div class="aca-folder-info-item-value" | ||
data-automation-id="folder-info-size">{{ folderDetails.size }}</div> | ||
</div> | ||
<mat-divider/> | ||
<div class="aca-folder-info-item"> | ||
<div class="aca-folder-info-item-label">{{ 'APP.FOLDER_INFO.LOCATION' | translate }}</div> | ||
<div class="aca-folder-info-item-value" | ||
data-automation-id="folder-info-location">{{ folderDetails.location }}</div> | ||
</div> | ||
<mat-divider/> | ||
<div class="aca-folder-info-item"> | ||
<div class="aca-folder-info-item-label">{{ 'APP.FOLDER_INFO.CREATED' | translate }}</div> | ||
<div class="aca-folder-info-item-value" | ||
data-automation-id="folder-info-creation-date" | ||
[title]="folderDetails.created | adfLocalizedDate">{{ folderDetails.created | adfTimeAgo }}</div> | ||
</div> | ||
<mat-divider/> | ||
<div class="aca-folder-info-body"> | ||
<div class="aca-folder-info-item"> | ||
<div class="aca-folder-info-item-label">{{ 'APP.FOLDER_INFO.SIZE' | translate }}</div> | ||
<div class="aca-folder-info-item-value" | ||
data-automation-id="folder-info-size">{{ folderDetails.size }}</div> | ||
</div> | ||
<mat-divider/> | ||
<div class="aca-folder-info-item"> | ||
<div class="aca-folder-info-item-label">{{ 'APP.FOLDER_INFO.LOCATION' | translate }}</div> | ||
<div class="aca-folder-info-item-value" | ||
data-automation-id="folder-info-location">{{ folderDetails.location }}</div> | ||
</div> | ||
<mat-divider/> | ||
<div class="aca-folder-info-item"> | ||
<div class="aca-folder-info-item-label">{{ 'APP.FOLDER_INFO.CREATED' | translate }}</div> | ||
<div class="aca-folder-info-item-value" | ||
data-automation-id="folder-info-creation-date" | ||
[title]="folderDetails.created | adfLocalizedDate">{{ folderDetails.created | adfTimeAgo }}</div> | ||
</div> | ||
<mat-divider/> | ||
<div class="aca-folder-info-item"> | ||
<div class="aca-folder-info-item-label">{{ 'APP.FOLDER_INFO.MODIFIED' | translate }}</div> | ||
<div class="aca-folder-info-item-value" | ||
data-automation-id="folder-info-modify-date" | ||
[title]="folderDetails.modified | adfLocalizedDate">{{ folderDetails.modified | adfTimeAgo }}</div> | ||
</div> | ||
<div class="aca-folder-info-item"> | ||
<div class="aca-folder-info-item-label">{{ 'APP.FOLDER_INFO.MODIFIED' | translate }}</div> | ||
<div class="aca-folder-info-item-value" | ||
data-automation-id="folder-info-modify-date" | ||
[title]="folderDetails.modified | adfLocalizedDate">{{ folderDetails.modified | adfTimeAgo }}</div> | ||
</div> | ||
</div> |
12 changes: 5 additions & 7 deletions
12
projects/aca-content/src/lib/dialogs/folder-details/folder-information.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters