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

Side by Side Diff: includes/as-mentioned.tmpl

Issue 29841563: Noissue - Merged index_page into master (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Fixed misc issues discussed in IRC Created July 30, 2018, 3:38 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {% set media_coverage = [
2 {
3 "publisher": "Media Post",
4 "link": "http://www.mediapost.com/publications/article/289691/adblock-plus-c omes-to-new-york.html",
5 "link_title": "Media Post article about Adblock Plus",
6 "image": "mediapost",
7 "image_alt": "Media Post logo"
8 },
9 {
10 "publisher": "NY Times",
11 "link": "https://www.nytimes.com/2015/08/20/technology/personaltech/ad-block ers-and-the-nuisance-at-the-heart-of-the-modern-web.html",
12 "link_title": "New York Times article about Adblock Plus",
13 "image": "nyt",
14 "image_alt": "New York Times logo"
15 },
16 {
17 "publisher": "Wall St. Journal",
18 "link": "https://www.wsj.com/articles/adblock-plus-chief-till-faida-says-con sumers-are-fed-up-with-current-online-ads-1462981668",
19 "link_title": "Wall St. Journal article about Adblock Plus",
20 "image": "wsj",
21 "image_alt": "Wall St. Journal logo"
22 },
23 {
24 "publisher": "TechCrunch",
25 "link": "https://techcrunch.com/2016/05/09/adblock-plus-closes-in-on-a-billi on-downloads/",
26 "link_title": "Tech Crunch article about Adblock Plus",
27 "image": "techcrunch",
28 "image_alt": "Tech Crunch logo"
29 },
30 {
31 "publisher": "BusinessInsider",
32 "link": "http://www.businessinsider.com/theres-nothing-wrong-about-the-way-a dblock-plus-makes-money-2015-9",
33 "link_title": "Business Insider article about Adblock Plus",
34 "image": "business-insider",
35 "image_alt": "Business Insider logo"
36 }
37 ] %}
38
39 <div id="media-section" class="bg-primary section">
40 <div class="container">
41 <div id="media">
42 <header id="media-header">
43 <h2>{{ "As Mentioned On:" | translate("as-mentioned-header", "header") } }</h2>
44 <small>{{ "(Links open in a new window)" | translate("as-mentioned-title ", "tooltip") }}</small>
45 </header>
46 <ul id="media-list" class="unstyled">
47 {% for item in media_coverage %}
48 <li>
49 <a
50 href="{{ item.link }}"
51 target="_blank"
52 title="{{ item.link_title | translate(item.publisher + '-tooltip', ' tooltip') }}">
53 <img
54 src="/img/media/{{ item.image }}.png"
55 srcset="/img/media/{{ item.image }}-2x.png 2x"
56 alt="{{ item.image_alt | translate(item.publisher + '-alt', 'alt t ext') }}">
57 </a>
58 </li>
59 {% endfor %}
60 </ul>
61 </div>
62 </div>
63 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld