Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: utils/tests/template/top_searches.tmpl

Issue 9728009: Template bug fixes and new features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undid css.status change Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/tests/template/test_nested.dart ('k') | utils/tests/template/top_searches2.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 template TopSearches(Person person, var searches) { 1 template TopSearches(Person person, var searches) {
2 <div> 2 <div>
3 ${#with person} 3 ${#with person}
4 <div> 4 <div>
5 <span>${name},&nbsp;</span> 5 <span>${name},&nbsp;</span>
6 <span>age&nbsp;=&nbsp;</span> 6 <span>age&nbsp;=&nbsp;</span>
7 <span>${age}</span> 7 <span>${age}</span>
8 </div> 8 </div>
9 ${#each searches} 9 ${#each searches search}
10 <div> 10 <div>
11 <span style="margin-left: 10px;">query=${query}</span> 11 <span style="margin-left: 10px;">query=${search.query}</span>
12 <span style="margin-left: 20px;">hits=${total}</span> 12 <span style="margin-left: 20px;">hits=${search.total}</span>
13 </div> 13 </div>
14 ${/each} 14 ${/each}
15 ${/with} 15 ${/with}
16 </div> 16 </div>
17 } 17 }
18 18
OLDNEW
« no previous file with comments | « utils/tests/template/test_nested.dart ('k') | utils/tests/template/top_searches2.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698