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

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

Issue 29798626: Fixes #91 - Homepage duplicate in Polish for SEM (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created June 4, 2018, 3:06 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
« no previous file with comments | « includes/abb-cross-promotion.tmpl ('k') | locales/pl/img/apple-app-store-badge.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {% set media_coverage = [ 1 {% set media_coverage = [
2 { 2 {
3 "publisher": "Media Post", 3 "publisher": "Media Post",
4 "link": "http://www.mediapost.com/publications/article/289691/adblock-plus-c omes-to-new-york.html", 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", 5 "link_title": "Media Post article about Adblock Plus",
6 "image": "mediapost", 6 "image": "mediapost",
7 "image_alt": "Media Post logo" 7 "image_alt": "Media Post logo"
8 }, 8 },
9 { 9 {
10 "publisher": "NY Times", 10 "publisher": "NY Times",
(...skipping 22 matching lines...) Expand all
33 "link_title": "Business Insider article about Adblock Plus", 33 "link_title": "Business Insider article about Adblock Plus",
34 "image": "business-insider", 34 "image": "business-insider",
35 "image_alt": "Business Insider logo" 35 "image_alt": "Business Insider logo"
36 } 36 }
37 ] %} 37 ] %}
38 38
39 <div id="media-section" class="bg-primary section"> 39 <div id="media-section" class="bg-primary section">
40 <div class="container"> 40 <div class="container">
41 <div id="media"> 41 <div id="media">
42 <header id="media-header"> 42 <header id="media-header">
43 <h2>{{ "As Mentioned On:" | translate("as-mentioned-header", "header") } }</h2> 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> 44 <small>{{ "(Links open in a new window)" | translate("as-mentioned-title ", "tooltip") }}</small>
45 </header> 45 </header>
46 <ul id="media-list" class="unstyled"> 46 <ul id="media-list" class="unstyled">
47 {% for item in media_coverage %} 47 {% for item in media_coverage %}
48 <li> 48 <li>
49 <a 49 <a
50 href="{{ item.link }}" 50 href="{{ item.link }}"
51 target="_blank" 51 target="_blank"
52 title="{{ item.link_title | translate(item.publisher + '-tooltip', ' tooltip') }}"> 52 title="{{ item.link_title | translate(item.publisher + '-tooltip', ' tooltip') }}">
53 <img 53 <img
54 src="/img/media/{{ item.image }}.png" 54 src="/img/media/{{ item.image }}.png"
55 srcset="/img/media/{{ item.image }}-2x.png 2x" 55 srcset="/img/media/{{ item.image }}-2x.png 2x"
56 alt="{{ item.image_alt | translate(item.publisher + '-alt', 'alt t ext') }}"> 56 alt="{{ item.image_alt | translate(item.publisher + '-alt', 'alt t ext') }}">
57 </a> 57 </a>
58 </li> 58 </li>
59 {% endfor %} 59 {% endfor %}
60 </ul> 60 </ul>
61 </div> 61 </div>
62 </div> 62 </div>
63 </div> 63 </div>
OLDNEW
« no previous file with comments | « includes/abb-cross-promotion.tmpl ('k') | locales/pl/img/apple-app-store-badge.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld