WebHost: Add links to "Setup Guides" in Supported Games page (#847)

* WebHost: Add links to "Setup Guides" in Supported Games page

* Remove a hanging console.log() I left in
This commit is contained in:
Zach Parks
2022-07-31 15:17:26 +00:00
committed by GitHub
parent 3bc9392e5b
commit d1f34d088b
2 changed files with 15 additions and 0 deletions

View File

@@ -15,10 +15,15 @@
<p>
{{ world.__doc__ | default("No description provided.", true) }}<br />
<a href="{{ url_for("game_info", game=game_name, lang="en") }}">Game Page</a>
{% if world.web.tutorials %}
<span class="link-spacer">|</span>
<a href="{{ url_for("tutorial_landing") }}#{{ game_name }}">Setup Guides</a>
{% endif %}
{% if world.web.settings_page is string %}
<span class="link-spacer">|</span>
<a href="{{ world.web.settings_page }}">Settings Page</a>
{% elif world.web.settings_page %}
<span class="link-spacer">|</span>
<a href="{{ url_for("player_settings", game=game_name) }}">Settings Page</a>
{% endif %}
{% if world.web.bug_report_page %}