This repository was archived by the owner on Sep 19, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 31
31
32
32
< div class ="container ">
33
33
< div id ="fb-root "> </ div >
34
- {% if user.profile.is_ambassador %}
35
- {% if user.profile.country == event.country or user.is_staff %}
36
34
< div class ="edit-toolbar ">
35
+ {% if user.profile.is_ambassador %}
36
+ {% if user.profile.country == event.country or user.is_staff %}
37
37
< div id ="change_status ">
38
38
{% if event.status == 'PENDING' %}
39
39
< div class ="alert alert-warning ">
58
58
< a class ="btn btn-sm btn-primary " href ="{% url 'web.view_event' next_event.pk next_event.slug %} "> Next pending event</ a >
59
59
</ div >
60
60
{% endif %}
61
-
62
61
</ div >
63
62
{% elif event.status == 'APPROVED' %}
64
63
< div class ="alert alert-info ">
91
90
{% endif %}
92
91
</ div >
93
92
{% endif %}
93
+ </ div >
94
94
{% endif %}
95
95
{% endif %}
96
96
{% if event.creator.id == request.user.id %}
97
97
< a href ="{% url 'web.edit_event' event.id %} " class ="btn pull-right edit-event-btn ">
98
- < i class ="fa fa-pencil-square-o "> </ i > Edit event</ a >
98
+ < i class ="fa fa-pencil-square-o "> </ i > Edit event</ a >
99
99
{% if event.status == 'PENDING' %}
100
100
< div class ="alert alert-warning ">
101
101
< strong > NOTE:</ strong > This event is stil being reviewed by < a href ="{% url 'web.ambassadors' %} "> moderators</ a > .
102
102
</ div >
103
103
{% endif %}
104
- </ div >
105
104
</ div >
106
- {% endif %}
107
-
108
-
105
+ {% endif %}
109
106
110
107
< div class ="about-event clearfix ">
111
108
< div class ="col-md-8 event-description first ">
You can’t perform that action at this time.
0 commit comments