Glassdoor notes, some Mizuno templates & a script
This commit is contained in:
@ -1,18 +1,22 @@
|
||||
{% assign ready = false %}
|
||||
{% if current_person.signed_in? %}
|
||||
{% for group in current_person.groups %}
|
||||
{% if group %}
|
||||
{% assign ready = true %}
|
||||
{% break %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if current_person.properties.city
|
||||
and current_person.properties.state
|
||||
and current_person.properties.store_name
|
||||
and current_person.properties.city.size > 0
|
||||
and current_person.properties.state.size > 0
|
||||
and current_person.properties.store_name.size > 0
|
||||
%}
|
||||
{% assign ready = true %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if ready %}
|
||||
{% if ready == true %}
|
||||
<script>
|
||||
if (window.location.pathname != '/app/dashboard'){
|
||||
window.location.replace('/app/dashboard');
|
||||
}
|
||||
/* if (window.location.pathname != '/app'){
|
||||
window.location.replace('/app');
|
||||
} */
|
||||
window.location.href = '/app'
|
||||
</script>
|
||||
{% else %}
|
||||
<script>
|
||||
@ -26,7 +30,7 @@
|
||||
<div class="waiting-room-container">
|
||||
<img class="image" src="https://s3.amazonaws.com/static.northpass.com/Mizuno+Golf/logo.png">
|
||||
<div class="text">
|
||||
Thank you for entering your PGA ID!
|
||||
Thank you for entering your Region and Store Name!
|
||||
Please wait while we configure the school for you.
|
||||
You’ll be automatically redirected when it's ready!
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user