/
brother_profile.html
67 lines (56 loc) · 2.05 KB
/
brother_profile.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{% extends "base.html" %}
{% block title %} ΘΤ | {{ be.brother.firstName }} {{ be.brother.lastName }} {% endblock %}
{% block content %}
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header"> {{ be.brother.firstName }} {{ be.brother.lastName }} <small>{{ be.brother.pledgeClass.name }} Class</small></h1>
</div>
</div>
<div class="row">
<div class="col-md-8" style="max-width:750px; max-height:500px;">
<img class="img-responsive" src="{{ be.brother.picture }}" style="margin-left:auto; margin-right:auto;">
</div>
<div class="col-md-4">
<h2>
{% if be.brother.isPledge %}
Pledge
{% elif be.brother.isAlumni %}
Alumni
{% else %}
Active
{% endif %}
| Class of {{ be.brother.graduationYear }}
</h2>
<h3>Major(s)</h3>
<ul>
{% if be.brother.majors %}
{% for major in be.brother.majors.all %}
<li> {{ major.majorName }} </li>
{% endfor %}
{% else %}
<li> Undecided Engineering </li>
{% endif %}
</ul>
{% if be.positions %}
<h3>Leadership Positions in ΘΤ</h3>
<ul>
{% for position in be.positions %}
<li>{{ position.position.name }} ({{ position.semester }} {{ position.year }}) </li>
{% endfor %}
</ul>
{% endif %}
{% if be.jobs %}
<h3>Internships, Co-ops, and Full Time Positions</h3>
<ul>
{% for job in be.jobs %}
<li>{{ job.type.name }} - {{ job.title }} at {{ job.company }} ({{ job.year }})</li>
{% endfor %}
</ul>
{% endif %}
<h4><a href="{{ be.brother.resume }}">Resume</a></h4>
</div>
</div>
</div><!-- /.container -->
<div class="container">
{% endblock %}