You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/08/05 17:31:15 UTC

[05/12] allura git commit: [#7925] add renamed files to template used by "Browse Commits" page

[#7925] add renamed files to template used by "Browse Commits" page


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/5f9d8967
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/5f9d8967
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/5f9d8967

Branch: refs/heads/db/7925
Commit: 5f9d8967470339e0bb28ebc3d8dc264b2cb604ba
Parents: 609d1b0
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Fri Jul 31 20:36:07 2015 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri Jul 31 20:36:38 2015 +0000

----------------------------------------------------------------------
 Allura/allura/templates/repo/commit_basic.html | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/5f9d8967/Allura/allura/templates/repo/commit_basic.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/repo/commit_basic.html b/Allura/allura/templates/repo/commit_basic.html
index f1625ca..e4ec126 100644
--- a/Allura/allura/templates/repo/commit_basic.html
+++ b/Allura/allura/templates/repo/commit_basic.html
@@ -46,6 +46,15 @@
         <a href="{{commit.url()}}tree/{{h.really_unicode(diff.new)}}">{{h.really_unicode(diff.new)}}</a>
       </td>
     </tr>
+    {% endfor %}{% for diff in commit.diffs.renamed %}
+    <tr>
+      <td>rename</td>
+      <td>
+        <a href="{{prev[0].url()}}tree/{{h.really_unicode(diff.old)}}">{{h.really_unicode(diff.old)}}</a>
+        <br/>to<br/>
+        <a href="{{commit.url()}}tree/{{h.really_unicode(diff.new)}}">{{h.really_unicode(diff.new)}}</a>
+      </td>
+    </tr>
     {% endfor %}
   </tbody>
 </table>