Commit 18203ab5 authored by Daniel W Bond's avatar Daniel W Bond

only urge to set room if student is on campus

parent d1145ef7
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
<h2>Welcome Back {{ me.get_first_name_or_uname }}!</h2> <h2>Welcome Back {{ me.get_first_name_or_uname }}!</h2>
<legend></legend> <legend></legend>
{% if me.on_campus %}
{% if not me.room %} {% if not me.room %}
<h3><em><a href="{% url 'updateStudent' request.user.username %}">Select your room</a>, and we'll show you the other students on your floor.</em></h3> <h3><em><a href="{% url 'updateStudent' request.user.username %}">Select your room</a>, and we'll show you the other students on your floor.</em></h3>
{% else %} {% else %}
...@@ -69,6 +71,8 @@ ...@@ -69,6 +71,8 @@
{% endif %} {% endif %}
{% endcache %} {% endcache %}
{% endif %}
{% cache 120 landing_majors request.user.username %} {% cache 120 landing_majors request.user.username %}
{% if not me.major %} {% if not me.major %}
<h3><em><a href="{% url 'updateStudent' request.user.username %}">Set your major</a>, and we'll show you some of the other students in your program.</em></h3> <h3><em><a href="{% url 'updateStudent' request.user.username %}">Set your major</a>, and we'll show you some of the other students in your program.</em></h3>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment