alan-turing-institute / DTBase

A starting point from which digital twins can be developed.
MIT License
11 stars 4 forks source link

website name #198

Closed GiorgioCerro closed 7 months ago

GiorgioCerro commented 7 months ago

I added a global flask variable called 'WEBSITE_NAME' in the init.py file, so that we can easily change that to reflect the changes everywhere it appears in the website. I found that the name appears in four places:

To test this, easily change the name in the website in the init.py file and check if you can see the changes in the webpage.

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e255154) 89.02% compared to head (96af391) 89.01%. Report is 5 commits behind head on main.

:exclamation: Current head 96af391 differs from pull request most recent head 872a1f0. Consider uploading reports for the commit 872a1f0 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #198 +/- ## ========================================== - Coverage 89.02% 89.01% -0.01% ========================================== Files 77 77 Lines 5164 5163 -1 ========================================== - Hits 4597 4596 -1 Misses 567 567 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

GiorgioCerro commented 7 months ago

With the latest push I changed all the title so for every page the title in the top bar should be like: DTBase | name of category.

Cool, I'll merge as soon it passes all the checks. Thanks!

This solves #195