Resolve "Add optional donation/contribution link in-app"

This commit is contained in:
Eliot Berriot 2019-09-23 11:30:25 +02:00
parent 5936dfc2bf
commit 01223afa80
17 changed files with 312 additions and 8 deletions

View file

@ -63,6 +63,10 @@ def get():
{"type": t, "label": l, "anonymous": t in unauthenticated_report_types}
for t, l in moderation_models.REPORT_TYPES
],
"funkwhaleSupportMessageEnabled": all_preferences.get(
"instance__funkwhale_support_message_enabled"
),
"instanceSupportMessage": all_preferences.get("instance__support_message"),
},
}