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

Side by Side Diff: includes/press/releases.tmpl

Issue 29334171: Issue 3410 - Added date sort / format for press releases (Closed)
Patch Set: Created Jan. 20, 2016, 4:58 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
1
saroyanm 2016/01/22 11:58:14 No new line needed in the beginning of the files.
juliandoucette 2016/01/25 16:19:56 Done.
1 {% set releases = [ 2 {% set releases = [
2 ("September 30, 2015", "en", "First Free Ad Blocker on the Apple App Store Arr ives; The Adblock Autumn: Adblock Plus for iOS 2-nd from ABP this Month", "2015 -09-30-ABP_for_iOSApp-WEB.pdf"), 3 ["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 ("September 29, 2015", "en", "Adblock Plus To Invite An Independent Board to M anage 'Acceptable Ads' Program", "2015-09-29-AA_independent_board-WEB.pdf"), 4 ["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"],
saroyanm 2016/01/22 11:58:14 This item is duplication.
juliandoucette 2016/01/25 16:19:56 Done.
4 ("September 15, 2015", "en", "Sweet 4­‐Peat for Users: Adblock Plus Victorious In Court Against Axel Springer", "2015-09-15-Cologne-lawsuitWIN-WEB.pdf"), 5 ["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"],
5 ("September 08, 2015", "en", "Adblock Plus beats Apple to the punch; Ships Adb lock Browser ahead of iOS 9", "2015-09-08-AdblockBrowserforiOSLaunch(POST)-WEB.p df"), 6 ["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"],
6 ("September 08, 2015", "en", "Adblock Plus Escapes Exile; Returns to Google Pl ay Store", "2015-09-08-Adblock BrowserforAndroid(POST)-WEB.pdf"), 7 ["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"],
saroyanm 2016/01/22 11:58:14 The link is broken because of ")" character is rep
juliandoucette 2016/01/25 16:19:56 Done. My mistake.
7 ("July 08, 2015", "en", "University Tests Adblock Plus on Enterprise Network; Finds 40% Traffic Reduction", "2015-07-08-ABP-SFUStudyWEB.pdf"), 8 ["2015-09-08", "en", "Adblock Plus Escapes Exile; Returns to Google Play Store ", "2015-09-08-Adblock BrowserforAndroid(POST]-WEB.pdf"],
saroyanm 2016/01/22 11:58:14 The link is broken because of ")" character is rep
juliandoucette 2016/01/25 16:19:56 Done.
8 ("May 19, 2015", "en", "Adblock Plus Builds First Mobile Browser From the Grou nd Up; Leaves Ad Industry With Nowhere to Hide", "2015-05-19-AdblockBrowserAndro idBeta-WEB.pdf"), 9 ["2015-07-08", "en", "University Tests Adblock Plus on Enterprise Network; Fin ds 40% Traffic Reduction", "2015-07-08-ABP-SFUStudyWEB.pdf"],
9 ("January 27, 2015", "en", "Adblock Plus for Internet Explorer Officially Out of Beta", "2015-01-27-Maxthon-US-WEB.pdf"), 10 ["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"],
10 ("April 04, 2014", "en", "Research Study Finds 'Loud' Website Ads Do Not Work" , "2014-04-29-Eyetracking-WEB.pdf"), 11 ["2015-01-27", "en", "Adblock Plus for Internet Explorer Officially Out of Bet a", "2015-01-27-Maxthon-US-WEB.pdf"],
11 ("October 10, 2013", "en", "Adblock Plus Available for Safari; Mac Owners Rejo ice", "2013-10-10-29-ABP-on-Safari-WEB.pdf"), 12 ["2014-04-04", "en", "Research Study Finds 'Loud' Website Ads Do Not Work", "2 014-04-29-Eyetracking-WEB.pdf"],
12 ("September 30, 2015", "de", "Unabhängiges Gremium entscheidet bald über 'Acce ptable Ads' bei Adblock Plus", "2015-09-30-AAIndependentBoard_DE.pdf"), 13 ["2013-10-10", "en", "Adblock Plus Available for Safari; Mac Owners Rejoice", "2013-10-10-29-ABP-on-Safari-WEB.pdf"],
13 ("September 29, 2015", "de", "4:0 für das Selbstbestimmungsrecht des Nutzers! Adblock Plus gewinnt Klage gegen Axel Springer vor Kölner Landgericht", "2015-09 -29-CologneLawsuit-DE.pdf"), 14 ["2015-09-30", "de", "Unabhängiges Gremium entscheidet bald über 'Acceptable A ds' bei Adblock Plus", "2015-09-30-AAIndependentBoard_DE.pdf"],
14 ("September 10, 2015", "de", "Adblock Browser aus dem Exil entlassen - endlich zurück im Google Play Store!", "2015-09-10-Adblock_Browser_für_Android-DE.pdf") , 15 ["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"],
15 ("September 08, 2015", "de", "Adblock Plus schneller dran als Apple - Adblock Browser kommt noch vor iOS 9!", "2015-09-08-Adblock_Browser_für_iOS_Launch-DE.pd f"), 16 ["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"],
16 ("September 08, 2015", "de", "Adblock Browser aus dem Exil entlassen - endlich zurück im Google Play Store!", "2015-09-08-Adblock_Browser_für_Android-DE.pdf") , 17 ["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"],
17 ("July 03, 2015", "de", "Universität testet Adblock Plus auf Unternehmensnetzw erk und reduziert den Datenverbrauch damit um 40%", "2015-07-03-SFU_Press_Releas e-DE.pdf"), 18 ["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"],
18 ("May 19, 2015", "de", "Werbeblocker 'Adblock Plus' launcht eigenen Android-Br owser", "2015-05-19-AdblockBrowserpressrelease-DE.pdf"), 19 ["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"],
19 ("February 02, 2015", "de", "Maxthon und AdblockPlus schließen strategische Pa rtnerschaft zum Launch des ersten Browsers, der Werbung standardmäßig blockiert" , "2015-02-09-MaxthonPressRelease-DE.pdf"), 20 ["2015-05-19", "de", "Werbeblocker 'Adblock Plus' launcht eigenen Android-Brow ser", "2015-05-19-AdblockBrowserpressrelease-DE.pdf"],
20 ("April 04, 2014", "de", "Erstaunliche neue Studie zur Werbewirkung: Dezente A nzeigen funktionieren besser", "2014-04-29-Eyetrackingtranslatedplusblog.pdf"), 21 ["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"],
21 ("June 06, 2013", "de", "Neue Studie zu Werbung im Netz: Kinder von Online­Anz eigen oftmals überfordert", "2013-06-20_KinderOnline-Werbung-DE.pdf"), 22 ["2014-04-04", "de", "Erstaunliche neue Studie zur Werbewirkung: Dezente Anzei gen funktionieren besser", "2014-04-29-Eyetrackingtranslatedplusblog.pdf"],
22 ] %} 23 ["2013-06-06", "de", "Neue Studie zu Werbung im Netz: Kinder von Online­Anzeig en oftmals überfordert", "2013-06-20_KinderOnline-Werbung-DE.pdf"]
24 ] | datesort %}
23 25
24 {% set languages = [ 26 {% set languages = [
25 ("en", "English"), 27 ("en", "English"),
26 ("de", "German"), 28 ("de", "German"),
27 ] %} 29 ] %}
28 30
29 {% for code, language in languages %} 31 {% for code, language in languages %}
30 <p> 32 <p>
31 <a href="#releases-{{code}}">{{language}}</a> 33 <a href="#releases-{{code}}">{{language}}</a>
32 </p> 34 </p>
33 {% endfor %} 35 {% endfor %}
34 36
35 {% for code, language in languages %} 37 {% for code, language in languages %}
36 <h3 id="releases-{{code}}">{{language}}</h3> 38 <h3 id="releases-{{code}}">{{language}}</h3>
37 <ul> 39 <ul>
38 {% for date, lang, title, file in releases %} 40 {% for date, lang, title, file in releases %}
39 {% if lang == code %} 41 {% if lang == code %}
40 <li> 42 <li>
41 <div>{{date}}</div> 43 <div>{{date}}</div>
42 <a href="/press/releases/{{code}}/{{file}}">{{title}}</a> 44 <a href="/press/releases/{{code}}/{{file}}">{{title}}</a>
43 </li> 45 </li>
44 {% endif %} 46 {% endif %}
45 {% endfor %} 47 {% endfor %}
46 </ul> 48 </ul>
47 {% endfor %} 49 {% endfor %}
OLDNEW
« filters/rndsortbydate.py ('K') | « filters/rndsortbydate.py ('k') | pages/team.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld