incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [2/2] git commit: [#6211] remove commit widget template (was unused, and was a widget extending master template which is weird)
Date Mon, 01 Jul 2013 16:35:56 GMT
[#6211] remove commit widget template (was unused, and was a widget extending master template
which is weird)


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

Branch: refs/heads/master
Commit: faf6a3950a498fb6cabe19e65ad791698d12b140
Parents: 673a6b7
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Mon Jul 1 16:01:14 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Mon Jul 1 16:35:40 2013 +0000

----------------------------------------------------------------------
 .../allura/templates/widgets/repo/commit.html   | 65 --------------------
 1 file changed, 65 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/faf6a395/Allura/allura/templates/widgets/repo/commit.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/repo/commit.html b/Allura/allura/templates/widgets/repo/commit.html
deleted file mode 100644
index 0858365..0000000
--- a/Allura/allura/templates/widgets/repo/commit.html
+++ /dev/null
@@ -1,65 +0,0 @@
-{#-
-       Licensed to the Apache Software Foundation (ASF) under one
-       or more contributor license agreements.  See the NOTICE file
-       distributed with this work for additional information
-       regarding copyright ownership.  The ASF licenses this file
-       to you under the Apache License, Version 2.0 (the
-       "License"); you may not use this file except in compliance
-       with the License.  You may obtain a copy of the License at
-
-         http://www.apache.org/licenses/LICENSE-2.0
-
-       Unless required by applicable law or agreed to in writing,
-       software distributed under the License is distributed on an
-       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-       KIND, either express or implied.  See the License for the
-       specific language governing permissions and limitations
-       under the License.
--#}
-{% extends g.theme.master %}
-
-{% block title %}
-  {{c.project.name}} / {{c.app.config.options.mount_label}} / Commit {{commit.shorthand_id()}}
-{% endblock %}
-
-{% macro commit_link(commit) -%}
-<a href={{commit.url()}}>{{commit.shorthand_id}}</a>
-{%- endmacro %}
-
-{% block header %}Commit {{commit_link(commit)}}{% endblock %}
-
-{% block content %}
-{{c.revision_widget.display(value=commit, prev=prev, next=next)}}
-<table>
-  <tbody>
-    {% for diff in commit.diffs.added %}
-    <tr>
-      <td>add</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>
-    </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]._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>
-        <br/>to<br/>
-        <a href="./tree/{{h.really_unicode(diff)}}">{{h.really_unicode(diff)}}</a>
-      </td>
-    </tr>
-    {% endfor %}
-  </tbody>
-</table>
-{% endblock %}


Mime
View raw message