Browse Source

Also add a legend for the orange markers

Gu1 11 years ago
parent
commit
f08b9a4316

+ 0 - 1
ffdnispdb/static/css/style.css

@@ -339,7 +339,6 @@ footer:hover p {
 }
 
 #map .legend i {
-    background: #00aac9;
     height: 8px;
     width: 8px;
     border: 1px solid #333;

+ 2 - 1
ffdnispdb/templates/site.js

@@ -275,7 +275,8 @@ function init_map() {
     legend.onAdd = function (map) {
         var div = L.DomUtil.create('div', 'info legend');
         div.innerHTML  = '<small>'+{{ _('Legend')|js_str }}+'&thinsp;:</small>&nbsp; ';
-        div.innerHTML += '<i title="'+{{ _('Member of the FDN Federation')|js_str }}+'" /> ';
+        div.innerHTML += '<i style="background: #ff7900" title="'+{{ _('ISP')|js_str }}+'"></i> ';
+        div.innerHTML += '<i style="background: #00aac9" title="'+{{ _('Member of the FDN Federation')|js_str }}+'"></i> ';
         $(div).children('i').tooltip({container: 'body'});
 
         return div;

BIN
ffdnispdb/translations/fr/LC_MESSAGES/messages.mo


+ 7 - 3
ffdnispdb/translations/fr/LC_MESSAGES/messages.po

@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: gu1@cafai.fr\n"
-"POT-Creation-Date: 2013-12-24 16:27+0100\n"
-"PO-Revision-Date: 2013-12-24 16:27+0100\n"
+"POT-Creation-Date: 2013-12-24 17:06+0100\n"
+"PO-Revision-Date: 2013-12-24 17:06+0100\n"
 "Last-Translator: Gu1 <gu1@cafai.fr>\n"
 "Language-Team: \n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
@@ -553,7 +553,7 @@ msgid "Step"
 msgstr "Étape"
 
 #: ffdnispdb/templates/project_list_macro.html:19
-#: ffdnispdb/templates/site.js:278
+#: ffdnispdb/templates/site.js:279
 msgid "Member of the FDN Federation"
 msgstr "Membre de la Fédération FDN"
 
@@ -593,6 +593,10 @@ msgstr "Trouvez des FAI proche de vous"
 msgid "Legend"
 msgstr "Légende"
 
+#: ffdnispdb/templates/site.js:278
+msgid "ISP"
+msgstr "FAI"
+
 #: ffdnispdb/templates/validator_generic.html:81
 msgid "Retry"
 msgstr "Réessayer"