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

Side by Side Diff: functions/set_title.py

Issue 5994668214976512: Issue 662 - Job links shouldn't use anchors (Closed)
Patch Set: Updated patch by Wladimir Created March 20, 2015, 9:52 a.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/jobs/generic-footer.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 from jinja2 import contextfunction
2
3 @contextfunction
4 def set_title(context, value):
5 context.resolve("params")["title"] = value
6 return ""
OLDNEW
« no previous file with comments | « no previous file | includes/jobs/generic-footer.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld