add option to remove new version message

This commit is contained in:
Bryan Gerlach
2025-01-28 17:22:50 -06:00
parent 30dff0ab1a
commit 4a744e900f
12 changed files with 83 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ def generator_view(request):
xOffline = form.cleaned_data['xOffline']
hidecm = form.cleaned_data['hidecm']
statussort = form.cleaned_data['statussort']
removeNewVersionNotif = form.cleaned_data['removeNewVersionNotif']
server = form.cleaned_data['serverIP']
key = form.cleaned_data['key']
apiServer = form.cleaned_data['apiServer']
@@ -164,6 +165,7 @@ def generator_view(request):
extras['xOffline'] = 'true' if xOffline else 'false'
extras['hidecm'] = 'true' if hidecm else 'false'
extras['statussort'] = 'true' if statussort else 'false'
extras['removeNewVersionNotif'] = 'true' if removeNewVersionNotif else 'false'
extra_input = json.dumps(extras)
####from here run the github action, we need user, repo, access token.