Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/layout/footer.tmpl

Issue 29488555: Issue 5406 - Create Site Footer Component for Help Center (Closed)
Patch Set: Rebase Created Aug. 11, 2017, 4:08 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | settings.ini » ('j') | static/js/main.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/layout/footer.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/layout/footer.tmpl
@@ -0,0 +1,29 @@
+<footer id="site-footer" class="navbar">
+ <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/08/22 14:33:41 NIT: I think this should be hidden by default and
ire 2017/09/04 20:28:06 This is sort of what I've done already, since I'm
juliandoucette 2017/09/06 17:48:17 Acknowledged. But we should be consistent. Doesn't
ire 2017/09/08 09:53:32 This makes sense, you're right. Will update.
+ {{config.get("langnames", locale)}}
+ </button>
+ <ul id="language-options" class="custom-select-options" aria-hidden="true">
juliandoucette 2017/08/22 14:33:41 NIT: aria-hidden should be added by js because thi
ire 2017/09/04 20:28:04 Done.
+ {% for lang in available_locales %}
+ <li>
+ {{page|linkify(lang)}}
+ {{config.get("langnames", lang)}}
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ <div class="column three-fourths">
+ <nav id="site-footer-nav">
+ <ul>
juliandoucette 2017/08/22 14:33:41 NIT: This list should stretch the footer if it's h
ire 2017/09/04 20:28:06 It doesn't seem like this list will be heavily pop
juliandoucette 2017/09/06 17:48:17 - I think that we are planning to translate the he
ire 2017/09/08 09:53:32 I think you meant to leave this comment on the lan
+ <li><a href="">Legal</a></li>
juliandoucette 2017/08/22 14:33:41 Note: This will probably be the "legal" or "impres
ire 2017/09/04 20:28:04 Acknowledged. I will add it when the page is added
juliandoucette 2017/09/06 17:48:17 Acknowledged.
+ <li><a href="https://adblockplus.org/privacy">Privacy Policy</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></small>
+ </div>
+ </div>
+</header>
« no previous file with comments | « no previous file | settings.ini » ('j') | static/js/main.js » ('J')

Powered by Google App Engine
This is Rietveld