Skip to content

Commit

Permalink
test: pass a setting file for the cards view
Browse files Browse the repository at this point in the history
  • Loading branch information
DE MERINGO Olivier committed Jun 13, 2024
1 parent ba13dea commit 59bc98b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ictst/widget/tools-widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ <h1>The content of the tool repository</h1>
},
"fields-custom-properties": {
"file": "https://github.com/Boavizta/ict-sustainability-tools/blob/main/ictst/widget/tools.fields-custom-properties.json"
},
"cardsview": {
"activate": true,
"default": false
},
"cardssettings": {
"file": "https://github.com/Boavizta/ict-sustainability-tools/blob/main/ictst/widget/tools.cardssettings.json"
}
}'
usertoken='<A_GITHUB_PAT>'
Expand Down
27 changes: 27 additions & 0 deletions ictst/widget/tools.cardssettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"mini": {
"tool_name": {
"position": "title"
},
"organization": {
"position": "resume"
},
"website": {
"position": "links"
}
},
"detail": {
"tool_name": {
"position": "title"
},
"organization": {
"position": "resume"
},
"website": {
"position": "links"
},
"environmental_indicator": {
"position": "tags"
}
}
}

0 comments on commit 59bc98b

Please sign in to comment.