Skip to content

Commit 2a693ac

Browse files
Changing references from mentor to facilitator (#205)
1 parent 5434688 commit 2a693ac

12 files changed

Lines changed: 16 additions & 15 deletions

File tree

hackadmin/templates/hackadmin_participants.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<a class="nav-link ci-link" id="teams-tab" data-toggle="tab" href="#teams" role="tab" aria-controls="teams" aria-selected="false">Teams</a>
2323
</li>
2424
<li class="nav-item">
25-
<a class="nav-link ci-link" id="mentors-tab" data-toggle="tab" href="#mentors" role="tab" aria-controls="mentors" aria-selected="fase">Mentors</a>
25+
<a class="nav-link ci-link" id="mentors-tab" data-toggle="tab" href="#mentors" role="tab" aria-controls="mentors" aria-selected="fase">Facilitators</a>
2626
</li>
2727
<li class="nav-item">
2828
<a class="nav-link ci-link" id="judges-tab" data-toggle="tab" href="#judges" role="tab" aria-controls="judges" aria-selected="false">Judges</a>

hackadmin/templates/includes/add_judge.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="modal-dialog" role="document">
33
<div class="modal-content">
44
<div class="modal-header">
5-
<h5 class="modal-title" id="addJudgesModalLabel">Add Judge to Hackathon</h5>
5+
<h5 class="modal-title" id="addJudgesModalLabel">Add Judge/Facilitator to Hackathon</h5>
66
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
77
<span aria-hidden="true">&times;</span>
88
</button>

hackadmin/templates/includes/list_mentors.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<table class="table table-sm border-top-0" id="mentorsTable">
44
<thead>
55
<tr>
6-
<th scope="col">Mentor Display Name</th>
6+
<th scope="col">Facilitator Display Name</th>
77
<th scope="col">Email</th>
88
<th scope="col">Team Name</th>
99
<th scope="col">Privileges</th>
@@ -38,7 +38,7 @@
3838
{% else %}
3939
<tr>
4040
<td colspan="4">
41-
No mentors distributed yet.
41+
No Facilitators distributed yet.
4242
</td>
4343
</tr>
4444
{% endif %}

hackadmin/templates/includes/list_teams.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<th scope="col">Team Name</th>
77
<th scope="col">Team Members</th>
88
<th scope="col">Project</th>
9-
<th scope="col">Mentor</th>
9+
<th scope="col">Facilitator</th>
1010
<th scope="col">Communication Channel</th>
1111
<th scope="col">Is Slack</th>
1212
</tr>

hackathon/forms.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class HackTeamForm(forms.ModelForm):
132132
class Meta:
133133
model = HackTeam
134134
fields = ['id', 'display_name', 'mentor']
135-
135+
136136
def __init__(self, *args, **kwargs):
137137
hackathon_id = kwargs.pop('hackathon_id', None)
138138
hackathon = Hackathon.objects.filter(id=hackathon_id).first()
@@ -143,6 +143,7 @@ def __init__(self, *args, **kwargs):
143143
self.fields['mentor'] = forms.ModelChoiceField(
144144
queryset=judges)
145145
self.fields['mentor'].required = False
146+
self.fields['mentor'].label = 'Facilitator'
146147

147148

148149
class HackAwardForm(forms.ModelForm):

hackathon/templates/hackathon/assign_mentors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
{% endfor %}
2626
<div class="row">
2727
<div class="col-12">
28-
<button class="btn btn-primary pl-5 pr-5">Save Mentors</button>
28+
<button class="btn btn-primary pl-5 pr-5">Save Facilitators</button>
2929
</div>
3030
</div>
3131
</form>

hackathon/templates/hackathon/hackathon_view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<i class="fas fa-users mr-2"></i>{% if hackathon.teams.all|length == 0 %}Distribute{% else %}Change{% endif %} Teams
5959
</a>
6060
<a role="button" class="dropdown-item" href="/hackathon/{{hackathon.id}}/assign_mentors/">
61-
<i class="fas fa-people-arrows mr-2"></i>Assign Mentors
61+
<i class="fas fa-people-arrows mr-2"></i>Assign Facilitators
6262
</a>
6363
<a role="button" class="dropdown-item" href="/hackathon/{{hackathon.id}}/awards/">
6464
<i class="fas fa-award mr-2"></i>Change Awards

hackathon/templates/hackathon/includes/enrollstaff.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
{% endif %}
1010
>
1111
{% if user in hackathon.judges.all %}
12-
<i class="fas fa-user-times mr-2"></i>Withdraw as Judge
12+
<i class="fas fa-user-times mr-2"></i>Withdraw as Judge/Facilitator
1313
{% else %}
14-
<i class="fas fa-user-plus mr-2"></i>Enroll as Judge
14+
<i class="fas fa-user-plus mr-2"></i>Enroll as Judge/Facilitator
1515
{% endif %}
1616
</button>
1717
</form>

hackathon/templates/hackathon/includes/hackathon_card.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h5 class="p-orange card-title"><a href="/hackathon/{{hackathon.id}}/" class="ci
2323
</h5>
2424
<p class="card-subtitle mb-2 text-muted"><i class="far fa-calendar-alt p-2"></i> {{ hackathon.start_date }} - {{ hackathon.end_date }}</p>
2525
{% if request.user.is_authenticated %}
26-
<p class="card-subtitle mb-2 text-muted"><i class="fas fa-building p-2"></i> Open to all {{ hackathon.organisation }} students</p>
26+
<p class="card-subtitle mb-2 text-muted"><i class="fas fa-building p-2"></i> Open to all {{ hackathon.organisation }} students &amp; alumni</p>
2727
{% if hackathon.end_date|date:"YmdHis" <= today|date:"YmdHis" or hackathon.status == 'finished' %}
2828
{% if request.user in hackathon.participants.all %}
2929
<p class="card-subtitle mb-2 ci-orange"><i class="fas fa-user p-2"></i>You participated in this hackathon</p>

hackathon/templates/hackathon/includes/judge_team_display.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{% endfor %}
1717
</ul>
1818
{% else %}
19-
You are currently not assigned as a mentor.
19+
You are currently don't have a team assigned to you.
2020
{% endif %}
2121
{% endwith %}
2222

0 commit comments

Comments
 (0)