Add weekly report button

This commit is contained in:
Alexandre
2024-05-24 10:19:39 +02:00
committed by GitHub
parent f2663c6243
commit e87aa59af5

View File

@@ -116,4 +116,9 @@ if bashio::config.true "SPECIES_CONVERTER"; then
fi
fi
# Add weekly report button
if ! grep -q "Weekly Report" "$HOME"/BirdNET-Pi/homepage/views.php; then
sed -i "67a\ <button type=\"submit\" name=\"view\" value=\"Weekly Report\" form=\"views\">Weekly Report</button>" "$HOME"/BirdNET-Pi/homepage/views.php
fi
echo " "