ScilifelabDataCentre / pathogens-portal

Swedish pathogens portal
https://www.pathogens.se
MIT License
12 stars 27 forks source link

Paul/FREYA-746 #1162

Closed Ziip-dev closed 1 month ago

Ziip-dev commented 1 month ago
Ziip-dev commented 1 month ago

Just to make it clear, I remove the list of dashboards to be displayed in the homepage from the dashboard template. So initially, all of the dashboards are displayed in the homepage and I added a condition at the end of the function processDashboardCards to only keep the three most recent one.

It's not super elegant, but this is the solution that required the least amount of modifications or special conditions... At the end it falls under the top banner short "flicker", so not more noticeable than that.

Ziip-dev commented 1 month ago

Same goes for the topic pages as the same script is used

Ziip-dev commented 1 month ago

All done @senthil10, if you want to give it one last final check

Ziip-dev commented 1 month ago

Translation for filter labels added. @LianeHughes I squashed your commit into the latest one for consistency of the git history once merged :)