Skip to content

Commit

Permalink
no trailing comments when location is not used in students list, fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sbenthall committed Aug 15, 2016
1 parent 6d50766 commit 7de95d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion publisher/_templates/students.html.tmpl
Expand Up @@ -6,7 +6,8 @@

{{for student in sponsored_students}}
<li>{{html_quote(student['name']) | html}},
<em>{{html_quote(student['org']) | html}},
<em>{{html_quote(student['org']) | html}}
{{if student['location']}}, {{endif}}
{{html_quote(student['location']) | html}}</em>
</li>
{{endfor}}
Expand Down
2 changes: 1 addition & 1 deletion publisher/_templates/students.tex.tmpl
Expand Up @@ -14,7 +14,7 @@
{{for student in sponsored_students}}
\item[] \normalsize\textsc{%
{{student['name']}}}, \small{%
{{student['org']}}, {{student['location']}}}
{{student['org']}}{{if student['location']}}, {{endif}}{{student['location']}}}
{{endfor}}

\end{itemize}
Expand Down

0 comments on commit 7de95d1

Please sign in to comment.