--- a/ForgeGit/forgegit/templates/index.html
+++ b/ForgeGit/forgegit/templates/index.html
@@ -8,8 +8,8 @@
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
- <title py:if="not repo">Git Repository</title>
- <title py:if="repo">Git Repository: ${repo.name}</title>
+ <title py:if="not c.app.repo">Git Repository</title>
+ <title py:if="c.app.repo">Git Repository: ${c.app.repo.name}</title>
</head>
<body>
@@ -18,14 +18,14 @@
<div class="row">
<div class="column grid_12">
<h2>Project: $c.project.shortname</h2>
- <py:if test="repo">
+ <py:if test="c.app.repo">
<dl>
<dt>read access</dt>
- <dd>git clone git://$repo.scm_url_path</dd>
+ <dd>git clone git://$c.app.repo.scm_url_path</dd>
<dt>read/write access</dt>
- <dd>git clone ssh://$repo.scm_url_path</dd>
+ <dd>git clone ssh://$c.app.repo.scm_url_path</dd>
<dt>status</dt>
- <dd>${repo.status}</dd>
+ <dd>${c.app.repo.status}</dd>
</dl>
<form py:if="allow_fork" action="fork" method="GET">
<input type="submit" value="Fork"/>
@@ -33,8 +33,8 @@
</py:if>
<h2>Recent Commits</h2>
<h3 py:if="branch">Browsing $branch</h3>
- <py:for each="r in revisions">
- ${c.revision_widget.display(value=r)}
+ <py:for each="ci in log">
+ ${c.revision_widget.display(value=ci)}
</py:for>
<a py:if="next_link" href="$next_link">More</a>
</div>