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

Delta Between Two Patch Sets: pages/team.tmpl

Issue 5507124440334336: Made the team size calculated dynamically, based on the list of team members, which is defined only… (Closed)
Left Patch Set: Adressed comments Created Dec. 11, 2013, 7:21 p.m.
Right Patch Set: Addressed comments Created Dec. 12, 2013, 10:25 a.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 | « includes/size-of-team-plus-one.tmpl ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title=Meet the Team 1 title=Meet the Team
2 2
3 <header class="page-title"> 3 <header class="page-title">
4 <h1>Meet the Team</h1> 4 <h1>Meet the Team</h1>
5 </header> 5 </header>
6 6
7 {%- from "globals" import people %} 7 {%- from "includes/globals" import people %}
8 8
9 {%- macro profile(date, image, name, title, description) %} 9 {%- macro profile(date, image, name, title, description) %}
10 <div class="profile column"> 10 <div class="profile column">
11 <p> 11 <p>
12 <img class="profile-image" src="/images/people/{{image}}" width="120" heig ht="120" alt=""/> 12 <img class="profile-image" src="/images/people/{{image}}" width="120" heig ht="120" alt=""/>
13 </p> 13 </p>
14 <h3 class="heading centered"><span>{{title}}</span></h3> 14 <h3 class="heading centered"><span>{{title}}</span></h3>
15 <h1>{{name}}</h1> 15 <h1>{{name}}</h1>
16 <h2>{{description}}</h2> 16 <h2>{{description}}</h2>
17 </div> 17 </div>
18 {% endmacro %} 18 {% endmacro %}
19 19
20 <div class="content-block columns-container four-columns"> 20 <div class="content-block columns-container four-columns">
21 {%- for person in people|datesort(basedate="2011-02-22") %} 21 {%- for person in people|datesort(basedate="2011-02-22") %}
22 {%- if loop.index % 4 == 1 and not loop.first %} 22 {%- if loop.index % 4 == 1 and not loop.first %}
23 </div> 23 </div>
24 <div class="content-block columns-container four-columns"> 24 <div class="content-block columns-container four-columns">
25 {%- endif %} 25 {%- endif %}
26 26
27 {{profile(*person)}} 27 {{profile(*person)}}
28 {%- endfor %} 28 {%- endfor %}
29 </div> 29 </div>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld