Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No add/import user buttons in Firefox on /sys/useradmin/ page with non-english language #1665

Closed
N-Storm opened this issue May 27, 2016 · 4 comments

Comments

@N-Storm
Copy link

N-Storm commented May 27, 2016

When your language settings in Seafile are something different from english, sometimes you can't see Import, Add and Export users buttons on /sys/useradmin/
Switching language to any other language helps. I've read under this thread that this seems to be happening with other languages as well: https://forum.seafile.de/t/solved-add-new-user-to-database-not-possible-with-german-translation/2361
Personally I have this issue with Russian settings. When I switch to English, German and other languages buttons appears. I've tried to clean Firefox cache & storage and this didn't helped. I've inspected DOM structure and seems like the buttons are in HTML code but aren't rendered well. See this screenshot:
seafile

Same server and language settings works fine from Chromium, I can see those buttons.

Running Seafile server 5.0.5 under Linux. Firefox 46.0.1 under Linux Mint.

@ghost
Copy link

ghost commented Jul 6, 2016

Hi,

It's because the length of button text is too long in your language.
If you shorten the text, the button are visible.
Eg in french :
long

short

So the dev should enlarge the width of div#main and div#right-panel
In the meantime you can modify /seafile-server-5.X.X/seahub/media/css/seahub.css
#main, #footer {
width:1050px;
}
#right-panel {
float:right;
width:810px;
}

@N-Storm
Copy link
Author

N-Storm commented Jul 6, 2016

Thanks, that worked!
It was minified seahub.min.css for me.

@ghost
Copy link

ghost commented Jul 6, 2016

Great !

@ghost
Copy link

ghost commented Aug 3, 2016

With seafile 6 this won't be a problem anymore.
As all the space is used, see https://forum.seafile.com/t/seafile-server-6-0-0-beta-is-ready-for-testing/167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants