diff sat_templates/templates/default/file/discover.html @ 220:f7d6ae06c42f

python 3 port: replaced iteritems() by items() for dictionaries
author Goffi <goffi@goffi.org>
date Tue, 13 Aug 2019 08:56:22 +0200
parents e9f0a4215e46
children aa37750c2617
line wrap: on
line diff
--- a/sat_templates/templates/default/file/discover.html	Tue Aug 13 08:57:03 2019 +0200
+++ b/sat_templates/templates/default/file/discover.html	Tue Aug 13 08:56:22 2019 +0200
@@ -16,7 +16,7 @@
         <div class="files__services">
             {{ block.separator(_("services")) }}
             <ul class="grid grid--center">
-                {% for entity,ident in disco_service_entities.iteritems() %}
+                {% for entity,ident in disco_service_entities.items() %}
                     <li class='grid__item grid__item--medium grid__item--selectable'>
                         <a href="{{entities_url[entity]}}">
                             {{ icon('server', cls='file__icon') }}
@@ -37,7 +37,7 @@
         <div class="files__own">
             {{ block.separator(_("your devices")) }}
             <ul class="grid grid--center">
-                {% for entity,ident in disco_own_entities.iteritems() %}
+                {% for entity,ident in disco_own_entities.items() %}
                     <li class='grid__item grid__item--medium grid__item--selectable'>
                         <a href="{{entities_url[entity]}}">
                             {{images.get_icon_client(ident)}}
@@ -52,7 +52,7 @@
         <div class="files__roster">
             {{ block.separator(_("your contacts devices")) }}
             <ul class="grid grid--center">
-                {% for entity,ident in disco_roster_entities.iteritems() %}
+                {% for entity,ident in disco_roster_entities.items() %}
                     <li class='grid__item grid__item--medium grid__item--selectable'>
                         <a href="{{entities_url[entity]}}">
                             {{images.get_icon_client(ident)}}