From 28dbc2ad736f76d602fc283ca0868341f9ded448 Mon Sep 17 00:00:00 2001 From: plt Date: Fri, 1 Jun 2012 02:20:35 +0800 Subject: [PATCH] Improve repo and repo_history_dir --- media/css/seahub.css | 2 +- templates/repo.html | 5 ++--- templates/repo_history_dir.html | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/media/css/seahub.css b/media/css/seahub.css index 322ec7c1ce..db511a0283 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -165,7 +165,7 @@ table img { #footer a { color:#333; text-decoration:none; } /* main */ h2.subject {} -p.path { margin: 12px 0 6px 0; color:#333; } +p.path, p.access-notice { margin: 12px 0 6px 0; } .with-bg li { padding-left:10px; line-height:20px; diff --git a/templates/repo.html b/templates/repo.html index 6c4ac97b8c..cc772ffc20 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -4,7 +4,6 @@ {% block main_panel %}

{{repo.props.name}} - ({{ latest_commit.props.ctime|tsstr_sec }})

@@ -47,7 +46,7 @@
{% if repo.props.encrypted and not password_set %} -

该目录已加密。如需在线查看里面的内容,请输入解密密码。密码只会在服务器上暂存1小时。

+

该目录已加密。如需在线查看里面的内容,请输入解密密码。密码只会在服务器上暂存1小时。


@@ -59,7 +58,7 @@ {% else %} {% if not is_owner and repo_ap == 'own' and not share_to_me %} -

该同步目录web匿名访问未开启,不能在线查看。

+

该同步目录web匿名访问未开启,不能在线查看。

{% else %}

当前路径: diff --git a/templates/repo_history_dir.html b/templates/repo_history_dir.html index 80ec31436f..f1b9851452 100644 --- a/templates/repo_history_dir.html +++ b/templates/repo_history_dir.html @@ -34,12 +34,12 @@

{% if repo.props.encrypted %} -

该同步目录已加密,不能在线查看。

+

该同步目录已加密,不能在线查看。

{% else %} {% if not is_owner and repo_ap == 'own' and not share_to_me %} -

该同步目录web匿名访问未开启,不能在线查看。

+

该同步目录web匿名访问未开启,不能在线查看。

{% else %} -

当前路径: +

当前路径: {% for name, link in zipped %} {% if not forloop.last %} {{ name }} /