--- a/Allura/allura/templates/widgets/repo/commit.html
+++ b/Allura/allura/templates/widgets/repo/commit.html
@@ -17,28 +17,28 @@
{% for diff in commit.diffs.added %}
<tr>
<td>add</td>
- <td><a href="./tree{{h.really_unicode(diff)}}">{{h.really_unicode(diff)}}</a></td>
+ <td><a href="./tree/{{h.really_unicode(diff)}}">{{h.really_unicode(diff)}}</a></td>
</tr>
{% endfor %}{% for diff in commit.diffs.removed %}
<tr>
<td>remove</td>
- <td><a href="{{prev[0].url()}}tree{{h.really_unicode(diff)}}">{{h.really_unicode(diff)}}</a></td>
+ <td><a href="{{prev[0].url()}}tree/{{h.really_unicode(diff)}}">{{h.really_unicode(diff)}}</a></td>
</tr>
{% endfor %}{% for diff in commit.diffs.changed %}
<tr>
<td>change</td>
<td>
<a href="./tree/{{h.really_unicode(diff)}}">{{h.really_unicode(diff)}}</a>
- <a href="./tree/{{h.really_unicode(diff)}}?diff={{prev[0].object_id}}">(diff)</a>
+ <a href="./tree/{{h.really_unicode(diff)}}?diff={{prev[0]._id}}">(diff)</a>
</td>
</tr>
{% endfor %}{% for diff in commit.diffs.copied %}
<tr>
<td>copy</td>
<td>
- <a href="{{prev[0].url()}}tree{{h.really_unicode(diff.old)}}">{{h.really_unicode(diff.old)}}</a>
+ <a href="{{prev[0].url()}}tree/{{h.really_unicode(diff.old)}}">{{h.really_unicode(diff.old)}}</a>
<br/>to<br/>
- <a href="./tree{{h.really_unicode(diff)}}">{{h.really_unicode(diff)}}</a>
+ <a href="./tree/{{h.really_unicode(diff)}}">{{h.really_unicode(diff)}}</a>
</td>
</tr>
{% endfor %}