Skip to content

Commit

Permalink
Fix some template references to py2 iteritems
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileyChris authored and jgmize committed Jun 29, 2019
1 parent e9cc8f9 commit 8cd27d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bedrock/grants/templates/grants/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h3>Our Grants</h3>
<div class="filters">
<h4>Filter by</h4>
<ul>
{% for key, label in grant_labels.iteritems() %}
{% for key, label in grant_labels.items() %}
{% if key == filter %}
<li>{{ label }}</li>
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion bedrock/mozorg/templates/mozorg/about/forums/forums.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h3>{{ _('Categories:') }}</h3>

<!--BEGIN_LIST-->

{% for title, forums_list in forums.ordered.iteritems() %}
{% for title, forums_list in forums.ordered.items() %}

<section id="{{ title|slugify }}" class="forum-group">
<a href="#" class="top">{{ _('Back to top') }}</a>
Expand Down
2 changes: 1 addition & 1 deletion bedrock/mozorg/templates/mozorg/credits.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Our Contributors</h1>

<p>We would like to thank our contributors, whose efforts over many years have made this software what it is.</p>

{% for letter, names in credits.ordered.iteritems() %}
{% for letter, names in credits.ordered.items() %}
<h2><a name="{{ letter }}">{{ letter }}</a></h2>
<p>
{{ ',\n'.join(names) }}
Expand Down

0 comments on commit 8cd27d9

Please sign in to comment.