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

Delta Between Two Patch Sets: includes/blog/recent-aac.tmpl

Issue 29453600: Issue 4961 - Fix card group field alignment on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Left Patch Set: Restructure card markup and fixes Created June 13, 2017, 4:44 p.m.
Right Patch Set: Move styling for cards on committee page to committee/index.html Created July 25, 2017, 1:33 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 | « no previous file | includes/index/aa-products.md » ('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 {% if get_pages_metadata({"parent": "blog/index", "committee": "true"}) %} 1 {% if get_pages_metadata({"parent": "blog/index", "committee": "true"}) %}
2 <div class="bg-accent"> 2 <div class="bg-accent">
3 <section class="center group-container"> 3 <section class="center group-container">
4 <h2> 4 <h2>
5 {{ "Recent updates about the committee" | translate("recent-acc-heading", "Recent Acceptable Ads Committee heading") }} 5 {{ "Recent updates about the committee" | translate("recent-acc-heading", "Recent Acceptable Ads Committee heading") }}
6 </h2> 6 </h2>
7 <div class="group group-4"> 7 <div class="group group-4 cards">
8 {% for post in limit_sort(get_pages_metadata({"parent": "blog/index", "commi ttee": "true"}), 4) %} 8 {% for post in limit_sort(get_pages_metadata({"parent": "blog/index", "commi ttee": "true"}), 4) %}
9 <div class="card"> 9 <div class="card">
10 <article> 10 <article>
11 <h3 class="card-heading">{{ post["title"] }}</h3> 11 <h3 class="card-heading">{{ post["title"] }}</h3>
12 <footer class="card-footer"> 12 <footer class="card-footer">
13 <a class="btn-outline-primary" href="{{ post["page"] }}"> 13 <a class="btn-outline-primary" href="{{ post["page"] }}">
14 {{ "Read more" | translate("read-more", "Button text") }} 14 {{ "Read more" | translate("read-more", "Button text") }}
15 </a> 15 </a>
16 </footer> 16 </footer>
17 </article> 17 </article>
18 </div> 18 </div>
19 {% endfor %} 19 {% endfor %}
20 </div> 20 </div>
21 </section> 21 </section>
22 </div> 22 </div>
23 {% endif %} 23 {% endif %}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld