Skip to content
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

fix: fix python den bugs #1710

Merged
merged 2 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions game/static/game/image/icons/python_black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions game/templates/game/game.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
<div id="python_tab" class="tab selectable {% if not level.pythonEnabled %}hidden{% endif %}">
<input type="radio" name="tabs" id="python_radio">
<label for="python_radio">
<img src="{% static 'game/image/icons/python.svg' %}">
<img src="{% static 'game/image/icons/python_white.svg' %}">
<span>{% trans "Python Den" %}</span>
</label>
</div>
Expand Down Expand Up @@ -346,7 +346,7 @@ <h3>{% trans "Python Program" %}
<div>
<div id="pythonIntro">{% trans "Use the Python editor below to design your program, and then click play to try it out!" %}</div>
<button class="navigation_button_portal long_button" id="van_commands_help">
<img src="{% static 'game/image/icons/python.svg' %}">
<img src="{% static 'game/image/icons/python_black.svg' %}">
<span>{% trans "Commands" %}</span>
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion game/views/level_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_blockly_episodes(request):

def get_python_episodes(request):
return fetch_episode_data(
app_settings.EARLY_ACCESS_FUNCTION(request), 16, 22
app_settings.EARLY_ACCESS_FUNCTION(request), 16, 15
)


Expand Down
Loading