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:
@@ -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>
|
||||
|
@@ -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 %}
|
||||
|
Reference in New Issue
Block a user