Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roomlist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
roomlist
Commits
45016944
Commit
45016944
authored
Oct 04, 2016
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added this template snippet to the housing pages and student profile page
parent
7382899b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
roomlist/accounts/templates/detailStudent.html
roomlist/accounts/templates/detailStudent.html
+7
-6
roomlist/housing/templates/detail_floor.html
roomlist/housing/templates/detail_floor.html
+1
-1
roomlist/housing/templates/detail_room.html
roomlist/housing/templates/detail_room.html
+1
-1
No files found.
roomlist/accounts/templates/detailStudent.html
View file @
45016944
...
...
@@ -60,12 +60,13 @@
<table
class=
"table table-hover text-center"
>
<tbody>
<tr>
<td><h4><strong>
Major
</strong>
:
{% if student.major %}
<a
href=
"{% url 'detail_major' student.major.slug %}"
>
{{ student.major.name }}
</a>
{% else %}
—
{% endif %}
{% if student.major.all|length == 2 %}
<td><h4><strong>
Majors
</strong>
:
{% else %}
<td><h4><strong>
Major
</strong>
:
{% endif %}
{% include 'double_major.html' %}
</h4></td>
</tr>
...
...
roomlist/housing/templates/detail_floor.html
View file @
45016944
...
...
@@ -29,7 +29,7 @@
<div
class=
"col-sm-3 text-center"
>
<img
class=
"img-circle img-responsive center center-block"
src=
"{{ student.profile_image_url }}"
alt=
"{{ student.get_first_name_or_uname }} profile picture"
>
<h4><a
href=
"{{ student.get_absolute_url }}"
><strong>
{{ student.get_full_name_or_uname }}
</strong></a></h4>
<h5><
a
href=
"{{ student.major.get_absolute_url }}"
><em>
{{ student.major.name }}
</em></a
></h5>
<h5><
em>
{% include 'double_major.html' %}
</em
></h5>
<h5><a
href=
"{{ student.room.get_absolute_url }}"
>
{{ student.room }}
</a></h5>
{% if student.get_flag_count %}
<p><em>
*a number of other floormates say this info is incorrect
</em></p>
...
...
roomlist/housing/templates/detail_room.html
View file @
45016944
...
...
@@ -30,7 +30,7 @@
<div
class=
"col-sm-3 text-center"
>
<img
class=
"img-circle img-responsive center center-block"
src=
"{{ student.profile_image_url }}"
alt=
"{{ student.get_first_name_or_uname }} profile picture"
>
<h4><a
href=
"{{ student.get_absolute_url }}"
><strong>
{{ student.get_full_name_or_uname }}
</strong></a></h4>
<h5><
a
href=
"{{ student.major.get_absolute_url }}"
><em>
{{ student.major.name }}
</em></a
></h5>
<h5><
em>
{% include 'double_major.html' %}
</em
></h5>
{% if student.get_flag_count > 4 %}
<p><em>
* a number of other floormates say this info is incorrect
</em></p>
{% endif %}
...
...
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