mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
Allow viewing encrypted repo directory/file.
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
</h2>
|
||||
|
||||
<div class="side fright">
|
||||
{% if not repo.props.encrypted %}
|
||||
{% if is_owner or repo_ap == 'public' or share_to_me %}
|
||||
<div class="latest-commit">
|
||||
<h3>修改信息</h3>
|
||||
@@ -25,7 +24,6 @@
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<h3>操作</h3>
|
||||
<ul class="with-bg">
|
||||
<li><a href="{{ SITE_ROOT }}repo/history/{{ repo.id }}/">返回历史列表</a></li>
|
||||
@@ -33,9 +31,6 @@
|
||||
</div>
|
||||
|
||||
<div class="main fleft">
|
||||
{% if repo.props.encrypted %}
|
||||
<p class="access-notice">该同步目录已加密,不能在线查看。</p>
|
||||
{% else %}
|
||||
{% if not is_owner and repo_ap == 'own' and not share_to_me %}
|
||||
<p class="access-notice">该同步目录web匿名访问未开启,不能在线查看。</p>
|
||||
{% else %}
|
||||
@@ -78,6 +73,5 @@
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user