% rebase("base.tpl", title=repo["owner_username"] + "/" + repo["name"] + " bookmarks", user=user, error=error, notice=notice)
<section class="repo-header slim">
<div>
% include("repo_fork_eyebrow.tpl")
% include("repo_title.tpl", repo=repo)
% include("repo_nav.tpl", repo=repo, commit_count=commit_count, issue_counts=issue_counts, pr_counts=pr_counts, star_count=star_count, is_starred=is_starred, is_owner=is_owner, can_maintain=can_maintain)
<p class="muted">Bookmarks</p>
</div>
</section>
<section class="panel">
% if bookmarks:
<ul class="commit-list">
% for bookmark in bookmarks:
<li>
<code>{{bookmark["name"]}}</code>
<div style="margin-bottom:20px;">
<strong><a href="/{{repo['owner_username']}}/{{repo['name']}}/commits/{{bookmark['short_node']}}">{{bookmark["short_node"]}}</a></strong>
<small>rev {{bookmark["rev"]}} · {{bookmark["date"]}}</small>
<p>{{bookmark["summary"]}}
<small><a href="{{url_with_ref('/' + repo['owner_username'] + '/' + repo['name'] + '/src', bookmark, True)}}">Browse code</a> ·
<a href="{{url_with_ref('/' + repo['owner_username'] + '/' + repo['name'] + '/commits', bookmark, True)}}">Commits</a> ·
<a href="/hg/{{repo['owner_username']}}/{{repo['name']}}/archive/{{bookmark['short_node']}}.zip">Archive</a></small>
</p>
</div>
</li>
% end
</ul>
% else:
<p class="empty">No bookmarks yet.</p>
% end
</section>