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

Delta Between Two Patch Sets: includes/press/releases.tmpl

Issue 29334171: Issue 3410 - Added date sort / format for press releases (Closed)
Left Patch Set: Fixed rename, typos, and function names Created Jan. 25, 2016, 4:18 p.m.
Right Patch Set: Fixed datetime call Created Feb. 9, 2016, 4 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « filters/teamsort.py ('k') | pages/team.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 {% set releases = [ 1 {% set releases = [
2 ["2015-09-30", "en", "First Free Ad Blocker on the Apple App Store Arrives; Th e Adblock Autumn: Adblock Plus for iOS 2-nd from ABP this Month", "2015-09-30-A BP_for_iOSApp-WEB.pdf"], 2 ["2015-09-30", "en", "First Free Ad Blocker on the Apple App Store Arrives; Th e Adblock Autumn: Adblock Plus for iOS 2-nd from ABP this Month", "2015-09-30-A BP_for_iOSApp-WEB.pdf"],
3 ["2015-09-29", "en", "Adblock Plus To Invite An Independent Board to Manage 'A cceptable Ads' Program", "2015-09-29-AA_independent_board-WEB.pdf"], 3 ["2015-09-29", "en", "Adblock Plus To Invite An Independent Board to Manage 'A cceptable Ads' Program", "2015-09-29-AA_independent_board-WEB.pdf"],
4 ["2015-09-15", "en", "Sweet 4­‐Peat for Users: Adblock Plus Victorious In Cour t Against Axel Springer", "2015-09-15-Cologne-lawsuitWIN-WEB.pdf"], 4 ["2015-09-15", "en", "Sweet 4­‐Peat for Users: Adblock Plus Victorious In Cour t Against Axel Springer", "2015-09-15-Cologne-lawsuitWIN-WEB.pdf"],
5 ["2015-09-08", "en", "Adblock Plus beats Apple to the punch; Ships Adblock Bro wser ahead of iOS 9", "2015-09-08-AdblockBrowserforiOSLaunch(POST)-WEB.pdf"], 5 ["2015-09-08", "en", "Adblock Plus beats Apple to the punch; Ships Adblock Bro wser ahead of iOS 9", "2015-09-08-AdblockBrowserforiOSLaunch(POST)-WEB.pdf"],
6 ["2015-09-08", "en", "Adblock Plus Escapes Exile; Returns to Google Play Store ", "2015-09-08-Adblock BrowserforAndroid(POST)-WEB.pdf"], 6 ["2015-09-08", "en", "Adblock Plus Escapes Exile; Returns to Google Play Store ", "2015-09-08-Adblock BrowserforAndroid(POST)-WEB.pdf"],
7 ["2015-07-08", "en", "University Tests Adblock Plus on Enterprise Network; Fin ds 40% Traffic Reduction", "2015-07-08-ABP-SFUStudyWEB.pdf"], 7 ["2015-07-08", "en", "University Tests Adblock Plus on Enterprise Network; Fin ds 40% Traffic Reduction", "2015-07-08-ABP-SFUStudyWEB.pdf"],
8 ["2015-05-19", "en", "Adblock Plus Builds First Mobile Browser From the Ground Up; Leaves Ad Industry With Nowhere to Hide", "2015-05-19-AdblockBrowserAndroid Beta-WEB.pdf"], 8 ["2015-05-19", "en", "Adblock Plus Builds First Mobile Browser From the Ground Up; Leaves Ad Industry With Nowhere to Hide", "2015-05-19-AdblockBrowserAndroid Beta-WEB.pdf"],
9 ["2015-01-27", "en", "Adblock Plus for Internet Explorer Officially Out of Bet a", "2015-01-27-Maxthon-US-WEB.pdf"], 9 ["2015-01-27", "en", "Adblock Plus for Internet Explorer Officially Out of Bet a", "2015-01-27-Maxthon-US-WEB.pdf"],
10 ["2014-04-04", "en", "Research Study Finds 'Loud' Website Ads Do Not Work", "2 014-04-29-Eyetracking-WEB.pdf"], 10 ["2014-04-04", "en", "Research Study Finds 'Loud' Website Ads Do Not Work", "2 014-04-29-Eyetracking-WEB.pdf"],
11 ["2013-10-10", "en", "Adblock Plus Available for Safari; Mac Owners Rejoice", "2013-10-10-29-ABP-on-Safari-WEB.pdf"], 11 ["2013-10-10", "en", "Adblock Plus Available for Safari; Mac Owners Rejoice", "2013-10-10-29-ABP-on-Safari-WEB.pdf"],
12 ["2015-09-30", "de", "Unabhängiges Gremium entscheidet bald über 'Acceptable A ds' bei Adblock Plus", "2015-09-30-AAIndependentBoard_DE.pdf"], 12 ["2015-09-30", "de", "Unabhängiges Gremium entscheidet bald über 'Acceptable A ds' bei Adblock Plus", "2015-09-30-AAIndependentBoard_DE.pdf"],
13 ["2015-09-29", "de", "4:0 für das Selbstbestimmungsrecht des Nutzers! Adblock Plus gewinnt Klage gegen Axel Springer vor Kölner Landgericht", "2015-09-29-Colo gneLawsuit-DE.pdf"], 13 ["2015-09-29", "de", "4:0 für das Selbstbestimmungsrecht des Nutzers! Adblock Plus gewinnt Klage gegen Axel Springer vor Kölner Landgericht", "2015-09-29-Colo gneLawsuit-DE.pdf"],
14 ["2015-09-10", "de", "Adblock Browser aus dem Exil entlassen - endlich zurück im Google Play Store!", "2015-09-10-Adblock_Browser_für_Android-DE.pdf"], 14 ["2015-09-10", "de", "Adblock Browser aus dem Exil entlassen - endlich zurück im Google Play Store!", "2015-09-10-Adblock_Browser_fur_Android-DE.pdf"],
saroyanm 2016/02/01 16:24:54 Can you please change link to PDF file to -> 2015-
juliandoucette 2016/02/02 16:44:46 Done.
15 ["2015-09-08", "de", "Adblock Plus schneller dran als Apple - Adblock Browser kommt noch vor iOS 9!", "2015-09-08-Adblock_Browser_für_iOS_Launch-DE.pdf"], 15 ["2015-09-08", "de", "Adblock Plus schneller dran als Apple - Adblock Browser kommt noch vor iOS 9!", "2015-09-08-Adblock_Browser_fur_iOS_Launch-DE.pdf"],
saroyanm 2016/02/01 16:24:54 Can you please change link to PDF file to -> 2015-
juliandoucette 2016/02/02 16:44:46 Done.
16 ["2015-09-08", "de", "Adblock Browser aus dem Exil entlassen - endlich zurück im Google Play Store!", "2015-09-08-Adblock_Browser_für_Android-DE.pdf"], 16 ["2015-09-08", "de", "Adblock Browser aus dem Exil entlassen - endlich zurück im Google Play Store!", "2015-09-08-Adblock_Browser_fur_Android-DE.pdf"],
saroyanm 2016/02/01 16:24:54 Can you please change link to PDF file to -> 2015-
juliandoucette 2016/02/02 16:44:46 Done.
17 ["2015-07-03", "de", "Universität testet Adblock Plus auf Unternehmensnetzwerk und reduziert den Datenverbrauch damit um 40%", "2015-07-03-SFU_Press_Release-D E.pdf"], 17 ["2015-07-03", "de", "Universität testet Adblock Plus auf Unternehmensnetzwerk und reduziert den Datenverbrauch damit um 40%", "2015-07-03-SFU_Press_Release-D E.pdf"],
18 ["2015-05-19", "de", "Werbeblocker 'Adblock Plus' launcht eigenen Android-Brow ser", "2015-05-19-AdblockBrowserpressrelease-DE.pdf"], 18 ["2015-05-19", "de", "Werbeblocker 'Adblock Plus' launcht eigenen Android-Brow ser", "2015-05-19-AdblockBrowserpressrelease-DE.pdf"],
19 ["2015-02-02", "de", "Maxthon und AdblockPlus schließen strategische Partnersc haft zum Launch des ersten Browsers, der Werbung standardmäßig blockiert", "2015 -02-09-MaxthonPressRelease-DE.pdf"], 19 ["2015-02-02", "de", "Maxthon und AdblockPlus schließen strategische Partnersc haft zum Launch des ersten Browsers, der Werbung standardmäßig blockiert", "2015 -02-09-MaxthonPressRelease-DE.pdf"],
20 ["2014-04-04", "de", "Erstaunliche neue Studie zur Werbewirkung: Dezente Anzei gen funktionieren besser", "2014-04-29-Eyetrackingtranslatedplusblog.pdf"], 20 ["2014-04-04", "de", "Erstaunliche neue Studie zur Werbewirkung: Dezente Anzei gen funktionieren besser", "2014-04-29-Eyetrackingtranslatedplusblog.pdf"],
21 ["2013-06-06", "de", "Neue Studie zu Werbung im Netz: Kinder von Online­Anzeig en oftmals überfordert", "2013-06-20_KinderOnline-Werbung-DE.pdf"] 21 ["2013-06-06", "de", "Neue Studie zu Werbung im Netz: Kinder von Online­Anzeig en oftmals überfordert", "2013-06-20_KinderOnline-Werbung-DE.pdf"]
22 ] | humandates %} 22 ] %}
Sebastian Noack 2016/02/01 18:01:23 Nit: Please call the filter where you output the d
juliandoucette 2016/02/02 16:44:46 Done.
23 23
24 {% set languages = [ 24 {% set languages = [
25 ("en", "English"), 25 ("en", "English"),
26 ("de", "German"), 26 ("de", "German"),
27 ] %} 27 ] %}
28 28
29 {% for code, language in languages %} 29 {% for code, language in languages %}
30 <p> 30 <p>
31 <a href="#releases-{{code}}">{{language}}</a> 31 <a href="#releases-{{code}}">{{language}}</a>
32 </p> 32 </p>
33 {% endfor %} 33 {% endfor %}
34 34
35 {% for code, language in languages %} 35 {% for code, language in languages %}
36 <h3 id="releases-{{code}}">{{language}}</h3> 36 <h3 id="releases-{{code}}">{{language}}</h3>
37 <ul> 37 <ul>
38 {% for date, lang, title, file in releases %} 38 {% for date, lang, title, file in releases|datesort %}
39 {% if lang == code %} 39 {% if lang == code %}
40 <li> 40 <li>
41 <div>{{date}}</div> 41 <div>{{date|humanize_date}}</div>
42 <a href="/press/releases/{{code}}/{{file}}">{{title}}</a> 42 <a href="/press/releases/{{code}}/{{file}}">{{title}}</a>
43 </li> 43 </li>
44 {% endif %} 44 {% endif %}
45 {% endfor %} 45 {% endfor %}
46 </ul> 46 </ul>
47 {% endfor %} 47 {% endfor %}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld