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

Side by Side Diff: templates/default.tmpl

Issue 29326071: No Issue - Add social media buttons to the footer ABB.org (Closed)
Patch Set: Addressed Thomas comments and added translation json Created Sept. 8, 2015, 10:04 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « static/images/twitter.png ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {# 1 {#
2 # This file is part of the Adblock Plus website, 2 # This file is part of the Adblock Plus website,
3 # Copyright (C) 2006-2015 Eyeo GmbH 3 # Copyright (C) 2006-2015 Eyeo GmbH
4 # 4 #
5 # Adblock Plus is free software: you can redistribute it and/or modify 5 # Adblock Plus is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License version 3 as 6 # it under the terms of the GNU General Public License version 3 as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
8 # 8 #
9 # Adblock Plus is distributed in the hope that it will be useful, 9 # Adblock Plus is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 </p> 69 </p>
70 <select id="language"> 70 <select id="language">
71 {% for lang in available_locales %} 71 {% for lang in available_locales %}
72 <option 72 <option
73 {% if locale == lang %}selected="selected"{% endif %} 73 {% if locale == lang %}selected="selected"{% endif %}
74 value="{{source.resolve_link(page, lang)[1]}}"> 74 value="{{source.resolve_link(page, lang)[1]}}">
75 {{config.get("langnames", lang)}} 75 {{config.get("langnames", lang)}}
76 </option> 76 </option>
77 {% endfor %} 77 {% endfor %}
78 </select> 78 </select>
79 <div id="social-media">
80 <a href="https://www.facebook.com/adblockplus">
81 <img src="/images/facebook.png" alt="{{get_string("facebook-icon-alt ", "footer")}}" />
82 </a>
83 <a href="https://twitter.com/adblockplus">
84 <img src="/images/twitter.png" alt="{{get_string("twitter-icon-alt", "footer")}}" />
85 </a>
86 <a href="https://plus.google.com/+AdblockPlus">
87 <img src="/images/gplus.png" alt="{{get_string("gplus-icon-alt", "fo oter")}}" />
88 </a>
89 </div>
79 </div> 90 </div>
80 </footer> 91 </footer>
81 {% if page == "index" %} 92 {% if page == "index" %}
82 <div id="overlay"> 93 <div id="overlay">
83 <div id="modal"> 94 <div id="modal">
84 <a href="#" id="modal-close"></a> 95 <a href="#" id="modal-close"></a>
85 <? include modal ?> 96 <? include modal ?>
86 </div> 97 </div>
87 </div> 98 </div>
88 {% endif %} 99 {% endif %}
89 <script src="/js/main.js"></script> 100 <script src="/js/main.js"></script>
90 </body> 101 </body>
91 </html> 102 </html>
OLDNEW
« no previous file with comments | « static/images/twitter.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld