Closed alexbelgium closed 3 months ago
It works by adding a new common function (get_sci_name) which does the invert of (get_com_en_name) and then passes it to the (info_site) function. Although it adds a new common function, this seems in line with how the app is coded currently
Reverted to draft, there is an issue in my get_sci_name function
It is now working
@alexbelgium it is hard to keep up with you :smile: I'll have a look this WE!
Thanks very much! This PR is more a prelude to the one with the icons as it just adds the code that you had written to had ebirds/all about birds. Then the other PR takes it one step further by implementing the logic of icons instead of text. I might merge both if you prefer but I thought it might be easier to review if I kept both separated
Your feedback whenever you have time will be appreciated and I appreciate the time you take to do that so just wanted to say that there is no urgency ;)
Thanks for the review, corrected now
Currently, the play.php page accessed through Recordings or Today species only shows as a text the common name of the specie
This PR takes advantage of the new site_info function to add a ebird/allaboutbirds link to the title, allowing a faster access and a bit more harmonized management with other pages