Get the settings up and running

This commit is contained in:
Jacob Danell 2023-03-09 21:13:42 +01:00
parent 47b1daf0f5
commit 10da5885cd
2 changed files with 30 additions and 2 deletions

View file

@ -8,6 +8,10 @@
"IntegrateKitsuNote": {
"set_status_note": false,
"note_status_shortname": "wfa"
},
"CustomCommentTemplate": {
"enabled": false,
"comment_template": "{comment}\n\n| | |\n|--|--|\n| version| `{version}` |\n| family | `{family}` |\n| name | `{name}` |"
}
}
}
}

View file

@ -54,8 +54,32 @@
"label": "Note shortname"
}
]
},
{
"type": "dict",
"collapsible": true,
"checkbox_key": "enabled",
"key": "CustomCommentTemplate",
"label": "Custom Comment Template",
"children": [
{
"type": "boolean",
"key": "enabled",
"label": "Enabled"
},
{
"type": "label",
"label": "Kitsu supports markdown and here you can create a custom comment template.<br/>You can use data from your instance's anatomy."
},
{
"key": "comment_template",
"type": "text",
"multiline": true,
"label": "Custom comment"
}
]
}
]
}
]
}
}