2011-09-07 02:57:47 +00:00
|
|
|
{% extends "myhome_base.html" %}
|
2011-10-12 16:17:48 +00:00
|
|
|
{% load seahub_tags %}
|
2011-08-16 13:05:42 +00:00
|
|
|
|
|
|
|
{% block right_panel %}
|
|
|
|
|
2011-10-12 16:17:48 +00:00
|
|
|
<h2>{{repo.props.name}}</h2>
|
|
|
|
<table class="default">
|
|
|
|
<tr>
|
|
|
|
<td>ID</td>
|
|
|
|
<td>{{repo.props.id}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>描述</td>
|
|
|
|
<td>{{repo.props.desc}}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2011-08-16 13:05:42 +00:00
|
|
|
|
2011-10-12 16:17:48 +00:00
|
|
|
<h3>分支</h3>
|
2011-08-16 13:05:42 +00:00
|
|
|
|
|
|
|
<table class="branch-list default">
|
|
|
|
<tr>
|
2011-10-12 16:17:48 +00:00
|
|
|
<th>分支名</th>
|
2011-08-16 13:05:42 +00:00
|
|
|
<th>Head Commit</th>
|
|
|
|
</tr>
|
|
|
|
{% for branch in branches %}
|
|
|
|
<tr>
|
|
|
|
<td>{{branch.props.name}}</td>
|
|
|
|
<td>{{branch.props.commit_id}}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h3>Commits</h3>
|
|
|
|
<table class="commit-list default">
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Time</th>
|
|
|
|
<th>Discription</th>
|
|
|
|
</tr>
|
|
|
|
{% for commit in commits %}
|
|
|
|
<tr>
|
2011-09-07 02:57:47 +00:00
|
|
|
<td>{{ commit.props.id }}</td>
|
2011-10-12 16:17:48 +00:00
|
|
|
<td>{{ commit.props.ctime|tsstr_sec }}</td>
|
2011-09-07 02:57:47 +00:00
|
|
|
<td>{{ commit.props.desc }}</td>
|
2011-08-16 13:05:42 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% endblock %}
|