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
9dbdecb8
Commit
9dbdecb8
authored
Nov 09, 2015
by
Daniel W Bond
Browse files
shows dash if no major selected
parent
8805bbba
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/accounts/templates/detailStudent.html
View file @
9dbdecb8
...
...
@@ -48,7 +48,13 @@
<table
class=
"table table-hover text-center"
>
<tbody>
<tr>
<td><h4><strong>
Major
</strong>
: {{ student.major.name }}
</h4></td>
<td><h4><strong>
Major
</strong>
:
{% if student.major %}
{{ student.major.name }}
{% else %}
—
{% endif %}
</h4></td>
</tr>
<tr>
...
...
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