diff --git a/media/css/seahub.css b/media/css/seahub.css index 0a7772e8ae..a1a0396372 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -2382,7 +2382,6 @@ button.dropdown-toggle:focus { text-align:right; } #file-enc { - border:1px solid #ddd; padding:0; } #file-view-tip { diff --git a/seahub/templates/file_edit.html b/seahub/templates/file_edit.html index 8290025d1f..1f233518e5 100644 --- a/seahub/templates/file_edit.html +++ b/seahub/templates/file_edit.html @@ -127,8 +127,8 @@ {% if not err and repo.encrypted %}

{% trans 'Library' %} {{repo.name}} {% trans 'is encrypted' %}

-
- +
+

{% trans "The password will be kept in the server for only 1 hour." %}

diff --git a/seahub/templates/view_file_base.html b/seahub/templates/view_file_base.html index 0a4882c3bc..a701e2ba07 100644 --- a/seahub/templates/view_file_base.html +++ b/seahub/templates/view_file_base.html @@ -11,9 +11,14 @@ {% block main_panel %}

{{ filename }} - + {% if is_starred %} + + {% else %} + + {% endif %} + {% if is_pro %} - {% trans + {% trans {% endif %}

@@ -100,9 +105,6 @@ {% endif %} {% endblock %} diff --git a/seahub/templates/view_shared_dir.html b/seahub/templates/view_shared_dir.html index ea748cce2c..471025f9bd 100644 --- a/seahub/templates/view_shared_dir.html +++ b/seahub/templates/view_shared_dir.html @@ -24,17 +24,17 @@

- + {% if mode == 'list' %} - + {% trans {% else %} - + {% trans {% endif %} - + {% if mode == 'grid' %} - + {% trans {% else %} - + {% trans {% endif %} {% if not traffic_over_limit %} @@ -65,8 +65,8 @@ {{ dirent.last_modified|translate_seahub_time }} {% if not traffic_over_limit %} - - + + {% trans 'Download' %} {% endif %} @@ -97,8 +97,8 @@ {{ dirent.last_modified|translate_seahub_time }} {% if not traffic_over_limit %} - - + + {% trans {% endif %} @@ -225,13 +225,11 @@ $(function() { $('.grid-item').hover( function () { - $('.img-link', $(this)).addClass('hl'); - $('.text-link', $(this)).addClass('hl'); + $('.img-link, .text-link', $(this)).addClass('hl'); $('.op-icon', $(this)).removeClass('vh'); }, function () { - $('.img-link', $(this)).removeClass('hl'); - $('.text-link', $(this)).removeClass('hl'); + $('.img-link, .text-link', $(this)).removeClass('hl'); $('.op-icon', $(this)).addClass('vh'); } );