Skip to content

Commit

Permalink
chore(edit-content): remove sorter icon in the relationship dialog table
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes committed Jan 7, 2025
1 parent eebc538 commit 4169a90
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}
</th>
<th scope="col" class="max-w-12rem" [pSortableColumn]="'title'">
<span class="capitalize">{{ 'dot.file.relationship.dialog.title' | dm }}</span>
<span class="capitalize">{{ 'dot.file.relationship.dialog.table.title' | dm }}</span>
<p-sortIcon [field]="'title'" />
</th>
@for (column of columns; track $index) {
Expand All @@ -78,11 +78,13 @@
</th>
}
<th scope="col" class="max-w-12rem" [pSortableColumn]="'language'">
<span class="capitalize">{{ 'dot.file.relationship.dialog.language' | dm }}</span>
<p-sortIcon [field]="'language'" />
<span class="capitalize">{{ 'dot.file.relationship.dialog.table.language' | dm }}</span>
</th>
<th scope="col" class="max-w-12rem" [pSortableColumn]="'state'">
<span class="capitalize">{{ 'dot.file.relationship.dialog.table.state' | dm }}</span>
</th>
<th scope="col" class="max-w-12rem" [pSortableColumn]="'modDate'">
<span class="capitalize">{{ 'dot.file.relationship.dialog.modDate' | dm }}</span>
<span class="capitalize">{{ 'dot.file.relationship.dialog.table.last.modified' | dm }}</span>
<p-sortIcon [field]="'modDate'" />
</th>
</tr>
Expand Down Expand Up @@ -112,7 +114,7 @@
<p-chip [styleClass]="'p-chip-sm ' + status.classes" [label]="status.label" />
</td>
<td class="max-w-12rem">
<p class="truncate-text">{{ item.modDate | date: 'short' }}</p>
<p class="truncate-text">{{ item.modDate | date: 'longDate' }}</p>
</td>
</tr>
</ng-template>
Expand Down
4 changes: 4 additions & 0 deletions dotCMS/src/main/webapp/WEB-INF/messages/Language.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,10 @@ dot.file.relationship.dialog.search.empty.content=No related content available
dot.file.relationship.dialog.content.id.required=ContentId is required
dot.file.relationship.dialog.content.request.failed=Failed to load content
dot.file.relationship.dialog.menu.column=Menu
dot.file.relationship.dialog.table.title=Title
dot.file.relationship.dialog.table.language=Language
dot.file.relationship.dialog.table.state=State
dot.file.relationship.dialog.table.last.modified=Last Modified
dot.common.apply=Apply
dot.common.archived=Archived
dot.common.cancel=Cancel
Expand Down

0 comments on commit 4169a90

Please sign in to comment.