aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/branch.html6
-rw-r--r--views/summary.html8
-rw-r--r--views/tree.html2
3 files changed, 8 insertions, 8 deletions
diff --git a/views/branch.html b/views/branch.html
index 799d040..da8d9d0 100644
--- a/views/branch.html
+++ b/views/branch.html
@@ -35,15 +35,15 @@
% end
% more = more and offset + 1 < repo.info.max_pages
-% include paginate more = more, offset = offset
+% include('paginate.html', more = more, offset = offset)
% kwargs = dict(repo=repo, commits=commits,
% shorten=shorten, repo_root=relroot + "../..")
-% include commit-list **kwargs
+% include('commit-list.html', **kwargs)
<p/>
-% include paginate more = more, offset = offset
+% include('paginate.html', more = more, offset = offset)
</body>
</html>
diff --git a/views/summary.html b/views/summary.html
index dd310ad..905f2ee 100644
--- a/views/summary.html
+++ b/views/summary.html
@@ -42,14 +42,14 @@
% kwargs = dict(repo = repo, start_ref = "refs/heads/master",
% limit = repo.info.commits_in_summary,
% shorten = shorten, repo_root = ".", offset = 0)
-% include commit-list **kwargs
+% include('commit-list.html', **kwargs)
<hr/>
<div class="toggable-title" onclick="toggle('ls')">
<a href="b/master/t/">tree (master)</a>
</div>
% kwargs = dict(repo = repo, tree=repo.tree("master"),
% treeroot="b/master/t", dirname=smstr.from_url(""))
-% include tree-list **kwargs
+% include('tree-list.html', **kwargs)
<hr/>
% end
@@ -60,14 +60,14 @@
% kwargs = dict(repo = repo, start_ref = "refs/heads/main",
% limit = repo.info.commits_in_summary,
% shorten = shorten, repo_root = ".", offset = 0)
-% include commit-list **kwargs
+% include('commit-list.html', **kwargs)
<hr/>
<div class="toggable-title" onclick="toggle('ls')">
<a href="b/main/t/">tree (main)</a>
</div>
% kwargs = dict(repo = repo, tree=repo.tree("main"),
% treeroot="b/main/t", dirname=smstr.from_url(""))
-% include tree-list **kwargs
+% include('tree-list.html', **kwargs)
<hr/>
% end
diff --git a/views/tree.html b/views/tree.html
index 179672d..6ac0136 100644
--- a/views/tree.html
+++ b/views/tree.html
@@ -37,7 +37,7 @@
</h3>
% kwargs = dict(repo = repo, tree=tree, treeroot=".")
-% include tree-list **kwargs
+% include('tree-list.html', **kwargs)
</body>
</html>