Skip to content

Changed login button to register interest - #46

Merged
derek750 merged 4 commits into
ieeeuoft:developfrom
derek750:login-button
Jul 16, 2026
Merged

Changed login button to register interest#46
derek750 merged 4 commits into
ieeeuoft:developfrom
derek750:login-button

Conversation

@derek750

@derek750 derek750 commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Overview

@derek750

derek750 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author
image

@derek750
derek750 requested a review from anniexwang July 8, 2026 17:58
{% else %}
<li>
<a href="{{ url("event:login") }}" class="btn-small waves-effect waves-light colorBtn">Login</a>
<a href="{% if request.path == url('event:index') %}#interest{% else %}{{ url('event:index') }}#interest{% endif %}" class="btn-small waves-effect waves-light colorBtn">Register Your Interest</a>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason for having a conditional link? can this be simplified?

@derek750
derek750 requested a review from anniexwang July 10, 2026 17:02
{% endif %}
{% endblock %}

{% block nav_logout_login_links %}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why was this chunk of code added in the fix instead of just adding
{% else %} <li> <a href="#interest" class="btn-small waves-effect waves-light colorBtn">Register Your Interest</a> </li> {% endif %}
to base.html?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, sorry that's a much better approach

@derek750
derek750 requested a review from anniexwang July 13, 2026 00:00
@derek750
derek750 merged commit da853c3 into ieeeuoft:develop Jul 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change redirection of login button

2 participants