Skip to content

Commit

Permalink
refactor(eighth): swap order of view roster and subscribe buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
alanzhu0 committed Oct 11, 2024
1 parent 996958b commit f2c6f95
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions intranet/templates/eighth/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,16 @@ <h3 class="activity-detail-header">
</div>
</div>
<% if (!showingRosterButton) { %>
<% if(isEighthAdmin) { %>
<a class="button" id="roster-button" data-endpoint="/eighth/roster/raw" href="/eighth/roster/<%= scheduled_activity_id %>">
View Roster
</a>
<% } %>
<% if (waitlist_count > 0 && waitlistEnabled) { %>
<a class="button" id="roster-waitlist-button" data-endpoint="/eighth/roster/raw/waitlist">
View Waitlist
</a>
<% } %>
<% if (subscriptions_enabled) { %>
<% if (subscribed_to) { %>
<a class="button" id="unsubscribe-button" href="/eighth/signup/unsubscribe/<%= id %>">
Expand All @@ -366,16 +376,6 @@ <h3 class="activity-detail-header">
</a>
<% } %>
<% } %>
<% if(isEighthAdmin) { %>
<a class="button" id="roster-button" data-endpoint="/eighth/roster/raw" href="/eighth/roster/<%= scheduled_activity_id %>">
View Roster
</a>
<% } %>
<% if (waitlist_count > 0 && waitlistEnabled) { %>
<a class="button" id="roster-waitlist-button" data-endpoint="/eighth/roster/raw/waitlist">
View Waitlist
</a>
<% } %>
<div id="signup-spinner-container">
<div id="signup-spinner"></div>
</div>
Expand Down

0 comments on commit f2c6f95

Please sign in to comment.