##// END OF EJS Templates
json: implement {bookmarks} template
Gregory Szorc -
r24546:adfd808c default
parent child Browse files
Show More
@@ -14,7 +14,15 b" tagentry = '\\{"
14 "node": {node|json},
14 "node": {node|json},
15 "date": {date|json}
15 "date": {date|json}
16 }'
16 }'
17 bookmarks = '"not yet implemented"'
17 bookmarks = '\{
18 "node": {node|json},
19 "bookmarks": [{join(entries%bookmarkentry, ", ")}]
20 }'
21 bookmarkentry = '\{
22 "bookmark": {bookmark|json},
23 "node": {node|json},
24 "date": {date|json}
25 }'
18 branches = '"not yet implemented"'
26 branches = '"not yet implemented"'
19 summary = '"not yet implemented"'
27 summary = '"not yet implemented"'
20 filediff = '"not yet implemented"'
28 filediff = '"not yet implemented"'
@@ -191,7 +191,27 b' bookmarks/ shows bookmarks info'
191 $ request json-bookmarks
191 $ request json-bookmarks
192 200 Script output follows
192 200 Script output follows
193
193
194 "not yet implemented"
194 {
195 "bookmarks": [
196 {
197 "bookmark": "bookmark1",
198 "date": [
199 0.0,
200 0
201 ],
202 "node": "8d7c456572acf3557e8ed8a07286b10c408bcec5"
203 },
204 {
205 "bookmark": "bookmark2",
206 "date": [
207 0.0,
208 0
209 ],
210 "node": "ceed296fe500c3fac9541e31dad860cb49c89e45"
211 }
212 ],
213 "node": "6ab967a8ab3489227a83f80e920faa039a71819f"
214 }
195
215
196 branches/ shows branches info
216 branches/ shows branches info
197
217
General Comments 0
You need to be logged in to leave comments. Login now