timthedevguy / BuySYS

*NO LONGER MAINTAINED* Buyback application for EveOnline, can be used by Corporations/Alliances or private entities. Written in PHP 7.4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moon Ores

4tt1c opened this issue · comments

commented

While i was around, i've added the moon ores to the ore table:

Edit 1: 
./src/AppBundle/Controller/QuicklookController.php

25 + private $moon_ore = array('45492', '45502', '45502', '45502', '45494', '45493', '45495', '45512', '45511', '45498', '45504', '45497', '45499', '45491', '45496', '45500', '45510', '45513', '45490', '45503');

87 + case "moon_ore":
                                $results = $this->getQuickReview($this->moon_ore);
                                $subText = "Moon Ores";
                                break;

93 + $results = $this->getQuickReview(array_merge($this->ore_high, $this->ore_other, $this->ore_low, $this->ore_null, $this->moon_ore));
Edit 2:
./app/Resources/views/elements/navTop.html.twig

23 + <li><a href="{{ path('quicklook', {'ore_type': 'moon_ore'}) }}">Moon Ore</a></li>
Edit 3+4:
Some random files under ./var/cache/prod/twig/

84 +                          <li><a href=\"";

        echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("quicklook", ["ore_type" => "moon_ore"]);
        echo "\">Moon Ore</a></li>