diff --git a/frontend/src/components/dirent-list-view/dirent-list-item.js b/frontend/src/components/dirent-list-view/dirent-list-item.js index 15df1657e8..c1d4ee78a2 100644 --- a/frontend/src/components/dirent-list-view/dirent-list-item.js +++ b/frontend/src/components/dirent-list-view/dirent-list-item.js @@ -727,7 +727,7 @@ class DirentListItem extends React.Component { onContextMenu={this.onItemContextMenu} > - + {dirent.starred !== undefined && diff --git a/frontend/src/components/dirent-list-view/dirent-list-view.js b/frontend/src/components/dirent-list-view/dirent-list-view.js index 6db555aa33..f460b74d72 100644 --- a/frontend/src/components/dirent-list-view/dirent-list-view.js +++ b/frontend/src/components/dirent-list-view/dirent-list-view.js @@ -619,7 +619,7 @@ class DirentListView extends React.Component { - + {/*icon */} {/*star */} diff --git a/frontend/src/components/file-uploader/file-uploader.js b/frontend/src/components/file-uploader/file-uploader.js index 8e520d12ac..a0ea1fbd31 100644 --- a/frontend/src/components/file-uploader/file-uploader.js +++ b/frontend/src/components/file-uploader/file-uploader.js @@ -681,7 +681,7 @@ class FileUploader extends React.Component {
- +
{this.state.isUploadRemindDialogShow && diff --git a/frontend/src/components/shared-link-file-uploader/file-uploader.js b/frontend/src/components/shared-link-file-uploader/file-uploader.js index 423f1ab2e0..703d33e282 100644 --- a/frontend/src/components/shared-link-file-uploader/file-uploader.js +++ b/frontend/src/components/shared-link-file-uploader/file-uploader.js @@ -664,7 +664,7 @@ class FileUploader extends React.Component {
- +
{this.state.isUploadProgressDialogShow && diff --git a/frontend/src/pages/upload-link/file-uploader.js b/frontend/src/pages/upload-link/file-uploader.js index dc915f7e81..6f2b63261a 100644 --- a/frontend/src/pages/upload-link/file-uploader.js +++ b/frontend/src/pages/upload-link/file-uploader.js @@ -622,7 +622,7 @@ class FileUploader extends React.Component {
- +
- {gettext('name')} - {gettext('size')} - {gettext('progress')} - {gettext('state')} + {gettext('name')} + {gettext('size')} + {gettext('progress')} + {gettext('state')} diff --git a/seahub/avatar/templatetags/avatar_tags.py b/seahub/avatar/templatetags/avatar_tags.py index 6915a4aafe..24800c6bb3 100644 --- a/seahub/avatar/templatetags/avatar_tags.py +++ b/seahub/avatar/templatetags/avatar_tags.py @@ -95,14 +95,14 @@ def avatar(user, size=AVATAR_DEFAULT_SIZE): logger.error(e) url = get_default_avatar_non_registered_url() - return format_html("""""" % (url, size, size)) + return format_html("""Avatar""" % (url, size, size)) @cache_result @register.simple_tag def primary_avatar(user, size=AVATAR_DEFAULT_SIZE): """ This tag tries to get the default avatar for a user without doing any db - requests. It achieve this by linking to a special view that will do all the + requests. It achieve this by linking to a special view that will do all the work for us. If that special view is then cached by a CDN for instance, we will avoid many db calls. """ diff --git a/seahub/templates/registration/login.html b/seahub/templates/registration/login.html index e3221ab999..65b25a6af6 100644 --- a/seahub/templates/registration/login.html +++ b/seahub/templates/registration/login.html @@ -197,12 +197,6 @@ $('#login-form').on('submit', function(){ return false; } }); -// set tabindex -$(function() { - $('input:not([type="hidden"])').each(function(index) { - $(this).attr('tabindex', index + 1); - }); -}); {% if enable_sso %} $(function() { diff --git a/seahub/templates/registration/multi_adfs_sso.html b/seahub/templates/registration/multi_adfs_sso.html index 1cb3244831..6270ca9b30 100644 --- a/seahub/templates/registration/multi_adfs_sso.html +++ b/seahub/templates/registration/multi_adfs_sso.html @@ -32,10 +32,10 @@ html, body, #wrapper { height:100%; } {% block main_content %}