Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
094332c2
Commit
094332c2
authored
Dec 11, 2015
by
Daniel W Bond
Browse files
fixes the 'help, the changes I make aren't reflected on my floor, room, or major pages' problem
parent
172661ea
Changes
5
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/templates/detail_major.html
View file @
094332c2
...
...
@@ -2,7 +2,7 @@
{% block title %} SRCT Roomlist | Majors | {{ major.name }} {% endblock title %}
{% block content %}
{% load cache %}
{% cache 1
20
major_students request.user.username major %}
{% cache 1
5
major_students request.user.username major %}
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
...
...
roomlist/accounts/templates/updateStudent.html
View file @
094332c2
...
...
@@ -6,6 +6,8 @@
{% endblock %}
{% block content %}
{% load cache %}
{% cache 4 student_update request.user.username %}
{% include 'room_change_warning.html' %}
...
...
@@ -161,7 +163,7 @@
</div>
</div>
{% endcache %}
{% endblock content %}
{% block javascript %}
...
...
roomlist/housing/templates/detail_floor.html
View file @
094332c2
...
...
@@ -3,7 +3,7 @@
{% block title %} SRCT Roomlist
•
{{ floor.building.name }} {{ floor.number|ordinal }}{% endblock title %}
{% block content %}
{% load cache %}
{% cache 1
20
floor_students request.user.username floor %}
{% cache 1
5
floor_students request.user.username floor %}
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
...
...
roomlist/housing/templates/detail_room.html
View file @
094332c2
...
...
@@ -2,7 +2,7 @@
{% block title %} SRCT Roomlist
•
{{ room.floor.building.name }} {{ room.number }}{% endblock %}
{% block content %}
{% load cache %}
{% cache 1
20
room_students request.user.username room %}
{% cache 1
5
room_students request.user.username room %}
{% load humanize %}
<div
class=
"page-header"
id=
"banner"
>
...
...
roomlist/templates/landing.html
View file @
094332c2
...
...
@@ -6,7 +6,7 @@
{% include 'messages.html' %}
{% load cache %}
{% cache 1
20
landing request.user.username %}
{% cache 1
5
landing request.user.username %}
{% load gravatar %}
<h2>
Welcome Back {{ me.get_first_name_or_uname }}!
</h2>
...
...
@@ -67,7 +67,9 @@
</div>
{% endif %}
{% endcache %}
{% cache 120 landing_majors request.user.username %}
{% 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>
{% else %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment