Index: includes/layout/footer.tmpl |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/includes/layout/footer.tmpl |
@@ -0,0 +1,31 @@ |
+<footer id="site-footer" class="navbar"> |
juliandoucette
2017/09/06 17:48:20
Note: (Added after the comments below) It looks li
ire
2017/09/08 09:53:33
Good idea! Done.
There are improvements I can mak
juliandoucette
2017/09/08 17:02:52
Acknowledged.
|
+ <div class="navbar-wrapper row"> |
+ <div class="column one-fourth"> |
+ <div class="custom-select"> |
+ <button class="custom-select-selected" aria-expanded="false" aria-controls="language-options"> |
juliandoucette
2017/09/06 17:48:21
Is there a reason that you didn't add aria-haspopu
ire
2017/09/08 09:53:34
See comment above.
|
+ {{config.get("langnames", locale)}} |
+ </button> |
+ <ul id="language-options" class="custom-select-options"> |
juliandoucette
2017/09/06 17:48:21
Is there a reason that you didn't add aria-labelle
ire
2017/09/08 09:53:34
See comment above.
|
+ {% for lang in available_locales %} |
juliandoucette
2017/09/06 17:48:20
NIT: These are locale codes not languages or langu
ire
2017/09/08 09:53:34
Not sure what you mean. Am I using the wrong varia
juliandoucette
2017/09/08 17:02:52
I was suggesting that you use a variable like "ava
ire
2017/09/12 08:57:53
Ah I see. "available_locale" makes more sense, not
|
+ <li> |
+ {{page|linkify(lang)}} |
+ {{config.get("langnames", lang)}} |
juliandoucette
2017/09/06 17:48:21
NIT: You are spacing {{ }} inconsistently in this
ire
2017/09/08 09:53:34
Done.
|
+ </a> |
+ </li> |
+ {% endfor %} |
+ </ul> |
+ </div> |
+ </div> |
+ <div class="column three-fourths"> |
+ <nav id="site-footer-nav"> |
+ <ul> |
+ <li><a href="">{{ "Legal" | translate("footer-nav-link-1", "Navigation link") }}</a></li> |
+ <li><a href="https://adblockplus.org/privacy">{{ "Privacy Policy" | translate("footer-nav-link-2", "Navigation link") }}</a></li> |
+ </ul> |
+ </nav> |
+ <small class="muted"> |
+ {{ "<a href=\"https://adblockplus.org\">Adblock Plus</a> is a registered trademark of <a href=\"https://eyeo.com\">eyeo GmbH</a>" | translate("footer-trademark-notice", "Paragraph") }} |
+ </small> |
+ </div> |
+ </div> |
+</footer> |