-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NAC-132: nxql query thumbnail generation (#200)
* NAC-132: nxql query thumbnail generation * NAC-132: text transform to capital * NAC-132: spacing in query
- Loading branch information
1 parent
8903d14
commit c35c57c
Showing
4 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
.action-name { | ||
font-weight: 550; | ||
font-size: 20px; | ||
text-transform: capitalize; | ||
} | ||
|
||
.action-status { | ||
|
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
5 changes: 4 additions & 1 deletion
5
...e-web/angular-app/src/app/features/thumbnail-generation/thumbnail-generation.constants.ts
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,5 +1,8 @@ | ||
export const THUMBNAIL_GENERATION_LABELS = { | ||
DOCUMENT_THUMBNAIL_GENERATION_TITLE: "Generate the thumbnail of a single document", | ||
THUMBNAIL_GENERATION_BUTTON_LABEL: "Generate", | ||
DOCUMENT_QUERY: "ecm:mixinType = 'Thumbnail' AND ecm:path='{query}'", | ||
DOCUMENT_QUERY: "ecm:path='{query}'", | ||
NXQL_THUMBNAIL_GENERATION_TITLE: "Generate the thumbnail of the documents returned by a NXQL query", | ||
NXQL_QUERY_DEFAULT_VALUE: "SELECT * FROM Document WHERE ecm:mixinType = 'Thumbnail' AND thumb:thumbnail/data IS NULL AND ecm:isVersion = 0 AND ecm:isProxy = 0 AND ecm:isTrashed = 0 AND dc:title = 'A document without thumbnail'", | ||
NXQL_QUERY: "(ecm:uuid='{query}' OR ecm:ancestorId='{query}') AND ecm:isProxy = 0 AND ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isTrashed = 0" | ||
}; |