RNAcentral / rnacentral-webcode

RNAcentral website source code
https://rnacentral.org
Apache License 2.0
31 stars 8 forks source link

Insert message on the main page #501

Closed carlosribas closed 4 years ago

AntonPetrov commented 4 years ago

I like the solution: Jenkins creates a template with a custom message, and once it exists, it's injected into the site by Django.

However, as far as I can tell, only the OY Jenkins deployment script supports adding a message.

Also, what is the thinking behind hiding the message after 5 seconds?

carlosribas commented 4 years ago

Only OY was working when I created this feature, I'll add this in PG as well.

This feature was created to insert a message in emergency cases. It needed to be visible on all pages, but I didn't want a fixed message, I think it ends up diverting the user's attention. Of course, this can be changed.