1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 06:34:40 +00:00

Modify public repo page

This commit is contained in:
xiez
2012-04-17 09:51:07 +08:00
parent f27af71e97
commit 4788c8078c
2 changed files with 5 additions and 4 deletions

View File

@@ -26,9 +26,7 @@
<td>{{ repo.props.desc }}</td>
<td>
{% if repo.is_public %}
<a href="{{ SITE_ROOT }}repo/dir/{{ repo.props.id }}/">查看目录</a>
{% else %}
查看目录
<a href="{{ SITE_ROOT }}repo/dir/{{ repo.props.id }}/">浏览</a>
{% endif %}
<a href="{{ SITE_ROOT }}repo/remove/{{ repo.props.id }}/">删除</a>
</td>

View File

@@ -25,7 +25,10 @@
<td></td>
{% else %}
<td>{{ dirent.props.obj_name }}</td>
<td><a href="{{ http_server_root }}/{{ repo_id }}?id={{ dirent.props.obj_id }}&filename={{ dirent.props.obj_name }}">下载</a></td>
<td>
<a href="#">查看</a>
<a href="{{ http_server_root }}/{{ repo_id }}?id={{ dirent.props.obj_id }}&filename={{ dirent.props.obj_name }}">下载</a>
</td>
{% endif %}
</tr>
{% endfor %}