hubmapconsortium / antibody-api

API for the Antibody DB.
https://avr.hubmapconsortium.org/
0 stars 0 forks source link

Configurable banner message #164

Closed ChuckKollar closed 6 months ago

ChuckKollar commented 6 months ago

Issue: https://github.com/hubmapconsortium/antibody-api/issues/160

Requires additional app.conf BANNER_MESSAGE entry:

BANNER_MESSAGE=''

This is an example of a three line banner:

BANNER_MESSAGE='<strong>This is a test of a banner string that is read from the server config file BANNER_MESSAGE</strong><br><strong>Second line of banner</strong><br><strong>Third line of banner</strong>'
ChuckKollar commented 6 months ago

Joe, I made your changes, and tested them. I also protected against not having a BANNER_MESSAGE in the app.conf file, so no changes to it need to be made on deploy.