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

Side by Side Diff: 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
Patch Set: Rebase Created July 17, 2017, 1:41 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 | « no previous file | includes/index/aa-products.md » ('j') | includes/solutions/style.html » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>{{ post["title"] }}</h3> 11 <h3 class="card-heading">{{ post["title"] }}</h3>
12 <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 %}
OLDNEW
« no previous file with comments | « no previous file | includes/index/aa-products.md » ('j') | includes/solutions/style.html » ('J')

Powered by Google App Engine
This is Rietveld