You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug only occurs when the "Stop My Server" button is clicked. Even though I changed the "Start my Server" button label on html, this is happening because static/js/home.js script is forcing the "Start My Server" button to display "Start My Server".
How to reproduce
You can change the start button html condition to display different strings depending if the server is active or not, as following:
Original templates/home.html:
<aid="start" role="button" class="btn btn-lg btn-primary" href="{{ url }}">
{% if not default_server.active %}Start{% endif %}
My Server
</a>
After click on the "Stop My Server" button, the start button will have the "Start My Server" label forced by the jupyterhub home.js, and not the one you defined on home.html
Personal set up
jupyterhub/jupyterhub 4.0.2
Python 3.10.12
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Bug description
The bug only occurs when the "Stop My Server" button is clicked. Even though I changed the "Start my Server" button label on html, this is happening because static/js/home.js script is forcing the "Start My Server" button to display "Start My Server".
How to reproduce
You can change the start button html condition to display different strings depending if the server is active or not, as following:
Original templates/home.html:
My templates/home.html:
Expected behaviour
After click on the "Stop My Server" button, the start button will have the "Start My Server" label forced by the jupyterhub home.js, and not the one you defined on home.html
Personal set up
jupyterhub/jupyterhub 4.0.2
Python 3.10.12
The text was updated successfully, but these errors were encountered: