-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
65 lines (56 loc) · 1.96 KB
/
notes.txt
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
<!-- Display here an application -->
{{=application['application_id']}} |
{{=application['slot_start']}} - {{=application['slot_end']}} |
{{=application['applicant_id']}} |
{{=application['resume_file']}} |
{{=application['status']}} |
<!-- check status and show buttons -->
{{if auth.user is not None:}}
{{if auth.user.role == 'student':}}
<a href="{{=URL('application', 'edit_application', args=[application['application_id']])}}" class="btn orange rounded">
<i class="fa fa-plus"></i> Sign up
</a>
{{pass}}
{{pass}}
{{if auth.user is not None:}}
<<<<<<< HEAD
{{if auth.user.role == 'company':}}
<a href="{{=URL('companypost', 'add_companypost', args=[r['id']])}}" class="btn green rounded">
=======
{{if auth.user.role == 'company' and auth.user.email == email:}}
{{is_joined = True}}
<a href="{{=URL('companypost', 'index', args=[r['id']])}}" class="btn green rounded">
<i class="fa fa-check"></i> Joined !
</a>
{{elif is_joined == False:}}
<a href="{{=URL('companypost', 'add_companypost', args=[r['id']])}}" class="btn orange rounded">
<i class="fa fa-plus"></i> Join Event
</a>
{{pass}}
{{pass}}
{{if auth.user is not None:}}
{{if auth.user.role == 'company':}}
<a href="{{=URL('companypost', 'add_companypost', args=[r['id']])}}" class="btn orange rounded">
>>>>>>> student_join_event
<i class="fa fa-plus"></i> Join Event
</a>
{{pass}}
{{pass}}
<<<<<<< HEAD
$ git push --delete <remote_name> <branch_name>
$ git branch -d <branch_name>
git branch -a
=======
{{if auth.user is not None:}}
{{for companypost in r['companypost_list']:}}
{{email = companypost['recruiter']}}
{{if auth.user.role == 'company' and auth.user.email == email:}}
{{is_joined = True}}
{{pass}}
{{pass}}
{{pass}}
{{elif is_joined == False and auth.user.role == 'company':}}
<a href="{{=URL('companypost', 'add_companypost', args=[r['id']])}}" class="btn orange rounded">
<i class="fa fa-plus"></i> Join Event
</a>
>>>>>>> student_join_event