File tree 5 files changed +13
-9
lines changed
5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -67,3 +67,8 @@ keywords = coala
67
67
bears = PyPluralNamingBear
68
68
files = **.py
69
69
ignore_list = LOGGING, MIDDLEWARE
70
+
71
+ [all.jinja]
72
+ files = templates/**.html
73
+ bears = Jinja2Bear
74
+ check_end_labels = False
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ <h1>Details of all the contributors</h1>
34
34
< p > teams:
35
35
{% for team in contributor.teams.all %}
36
36
{{ team.name }}
37
- {% endfor %}
37
+ {% endfor %}{# for team in contributor.teams.all #}
38
38
</ p >
39
39
</ div >
40
40
</ div >
Original file line number Diff line number Diff line change @@ -32,19 +32,19 @@ <h1>The gamification leaderboard</h1>
32
32
< p > {{ forloop.counter }}. {{ activity.name }}, performed_at:
33
33
{{ activity.performed_at }} updated_at: {{ activity.updated_at }}
34
34
</ p >
35
- {% endfor %}
35
+ {% endfor %}{# for activity in participant.activities.all # }
36
36
< p > Badges Earned:
37
37
{% for badge in participant.badges.all %}
38
38
< p > {{ forloop.counter }}.{{ badge.name }}</ p >
39
- {% endfor %}
39
+ {% endfor %}{# for badge in participant.badges.all # }
40
40
</ p >
41
41
</ div >
42
42
</ div >
43
43
</ div >
44
44
</ div >
45
45
</ div >
46
46
< hr >
47
- {% endfor %}{# for contributor in contributors #}
47
+ {% endfor %}{# for participant in participants #}
48
48
</ ul >
49
49
</ body >
50
50
</ html >
Original file line number Diff line number Diff line change 24
24
</ ul >
25
25
{% if isTravis %}
26
26
< small > This website was built automatically using Travis CI. A link to the build can be found < a href ="{{ travisLink }} "> here</ a > .</ small >
27
- {% endif %}
27
+ {% endif %}{# if isTravis #}
28
28
</ body >
29
29
</ html >
Original file line number Diff line number Diff line change 10
10
</ head >
11
11
< body >
12
12
< h1 > All of our Portfolio Projects</ h1 >
13
- {% for error in errors %}
13
+ {% for error in errors %}
14
14
< p > {{ error | safe }}</ p >
15
- {% endfor % }
15
+ {% endfor %}{# for error in errors # }
16
16
17
17
{% for project in projects %}
18
18
< div class ="container ">
@@ -38,6 +38,5 @@ <h1>All of our Portfolio Projects</h1>
38
38
</ div >
39
39
</ div >
40
40
< hr >
41
- {% endfor %}{# for project in projects #}
42
- </ body >
41
+ {% endfor %}{# for project in projects #} {# for project in projects #} </ body >
43
42
</ html >
You can’t perform that action at this time.
0 commit comments