Revert: Legacy launcher link changes
Reverted changes to legacy launcher links in various components. These links are intentionally structured to work with nginx location aliases and should not be modified to conform to SvelteKit routing.
This commit is contained in:
@@ -171,7 +171,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="/events/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id}"
|
||||
href="/event/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id_random}"
|
||||
class="btn btn-sm preset-tonal-secondary hover:preset-filled-secondary-500 transition-all hover:transition-all *:hover:inline text-xs"
|
||||
title="The legacy launcher that not actively being developed. Use with the native launcher for oral sessions."
|
||||
>
|
||||
@@ -180,7 +180,7 @@ if (!$events_loc.pres_mgmt?.location_kv) {
|
||||
</a>
|
||||
|
||||
<a
|
||||
href="/events/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id}"
|
||||
href="/events/{event_location_obj?.event_id}/launcher/{event_location_obj?.event_location_id_random}"
|
||||
class="btn btn-sm preset-tonal-tertiary border border-tertiary-500 hover:preset-filled-secondary-500 transition-all hover:transition-all *:hover:inline text-xs"
|
||||
title="The new launcher that is actively being developed. Do not use with the native launcher."
|
||||
>
|
||||
|
||||
@@ -387,7 +387,7 @@ let clipboard_success = $state(false);
|
||||
<!-- Legacy link (Flask) -->
|
||||
<a
|
||||
data-sveltekit-preload-data="false"
|
||||
href="/events/{$lq__event_session_obj?.event_id}/launcher/{$lq__event_session_obj?.event_location_id}"
|
||||
href="/event/{$lq__event_session_obj?.event_id}/launcher/{$lq__event_session_obj?.event_location_id}"
|
||||
class:hidden={$events_loc.pres_mgmt?.hide__launcher_link_legacy && !($ae_loc.trusted_access && $ae_loc.edit_mode)}
|
||||
class="btn btn-sm preset-tonal-secondary hover:preset-filled-secondary-500 transition-all"
|
||||
title={`Legacy Launcher (Flask): ${$lq__event_session_obj?.event_location_name}\n${$lq__event_session_obj?.event_location_id_random}`}
|
||||
|
||||
@@ -255,7 +255,7 @@ let trigger_reload_session_id: string = $state('');
|
||||
<span class="flex flex-row gap-0.5 items-center justify-center">
|
||||
<a
|
||||
data-sveltekit-preload-data="false"
|
||||
href="/events/{session_obj?.event_id}/launcher/{session_obj?.event_location_id}"
|
||||
href="/event/{session_obj?.event_id}/launcher/{session_obj?.event_location_id}"
|
||||
class:hidden={hide__launcher_link_legacy && !($ae_loc.trusted_access && $ae_loc.edit_mode)}
|
||||
class="btn btn-sm preset-tonal-secondary hover:preset-filled-secondary-500 transition-all group"
|
||||
title={`Legacy Launcher (Flask): ${session_obj?.event_location_name}\n${session_obj?.event_location_id_random}`}
|
||||
|
||||
Reference in New Issue
Block a user