diff --git a/html/schematics.py b/html/schematics.py index a466c53..5bf0071 100755 --- a/html/schematics.py +++ b/html/schematics.py @@ -374,6 +374,7 @@ def main(): schematic=s, schematicID=schematicID, schematicTabList=ghLists.getSchematicTabList(), + selectedGalaxy=galaxy, siteidCAPTCHA=ghShared.RECAPTCHA_SITEID, statList=ghLists.getStatList(), uiTheme=uiTheme, diff --git a/html/templates/schematics.html b/html/templates/schematics.html index 8e11b75..aed6df8 100644 --- a/html/templates/schematics.html +++ b/html/templates/schematics.html @@ -305,6 +305,11 @@

Crafting Schematics {% endif %} {% if (schematicID != '' and schematicID != 'index' and schematicID != 'home') %} + {% if schematic.schematicID and schematic.galaxy != 0 and schematic.galaxy|string != selectedGalaxy %} +
+ You're viewing a schematic for a different galaxy. Some ingredients may not exist your selected galaxy. +
+ {% endif %}

{{ schematic.schematicName }} {% if loggedin == 1 %} {{ favHTML }}