New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pokemon Page improvements #326
Conversation
Added raid stats to pokemon page Added evolution tree (VIP)
I think the raid stuff will not work properly, because RM only stores the current raid for each gym. The evolution tree will maybe work also without a new file, because the candy requirements are stored in the pokedex file already. |
|
Added cron to fix raid count
I try to test it and the tree works without problems at all. And the raid too but i must wait to tomorrow for new raids. :D Nice Work. |
Result runs without Problems at me. |
looks really nice! +1 and I'll merge |
Tested and works fine! |
Please rebase :) |
done @Obihoernchen |
|
||
<div> | ||
<a href="<?= $link ?>"><img src="<?= $tree_pokemon->img ?>" alt="<?= $tree_pokemon->name ?>" class="img"></a> | ||
<p class="pkmn-name"><a href="<?= $link ?>">#<?= sprintf('%03d<br>%s', $tree_pokemon->id, $tree_pokemon->name) ?></a></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$link does not work if Worldopole is installed in a subdirecotry
Works fine! Great job! |
* fix 241 evolution * fix arrow for 2nd evolutions * woops * fix tabs
Description
Added Pokemon Tree to Pokemon page
Added Raid count to Pokemon page
The Pokemon Tree is fully dynamic based on max pokemon id and also shows evolution items.
How Has This Been Tested?
On local instance and working perfectly
Screenshots (if appropriate):
Raid Count:
Tree:
Types of changes