Skip to content

Commit

Permalink
fix website link for room
Browse files Browse the repository at this point in the history
  • Loading branch information
oscie57 committed Jun 27, 2024
1 parent 0af7c41 commit d7d39cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion templates/generic/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
{% endwith %}

<section class="section">
<div class="container">{% if maintenance %}
<div class="container">
{% if maintenance %}
<div class="notification is-warning">
Wii Room is currently in <b>maintenance mode</b>.
</div>
Expand Down
4 changes: 2 additions & 2 deletions theunderground/room_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def choose_type(room_id):
if value == "Coupon":
return redirect(url_for("root"))

if value == "Link":
if value == "Website Link":
return redirect(url_for("link", room_id=room_id))

if value == "Picture":
Expand Down Expand Up @@ -163,7 +163,7 @@ def poll(room_id):
return render_template("room_add_vote.html", form=form)


@app.route("/theunderground/rooms/<room_id>/add//mov", methods=["GET", "POST"])
@app.route("/theunderground/rooms/<room_id>/add/mov", methods=["GET", "POST"])
@oidc.require_login
def movie(room_id):
form = RoomMovieData()
Expand Down

0 comments on commit d7d39cd

Please sign in to comment.