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

Add home tooltip showing server root if available for user information. #6552

Merged
merged 2 commits into from Jun 12, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/filebrowser/src/crumbs.ts
Expand Up @@ -13,7 +13,7 @@ import { Widget } from '@phosphor/widgets';

import { DOMUtils, showErrorMessage } from '@jupyterlab/apputils';

import { PathExt } from '@jupyterlab/coreutils';
import { PathExt, PageConfig } from '@jupyterlab/coreutils';

import { renameFile } from '@jupyterlab/docmanager';

Expand Down Expand Up @@ -354,7 +354,7 @@ namespace Private {
let home = document.createElement('span');
home.className =
MATERIAL_CLASS + ' ' + BREADCRUMB_HOME + ' ' + BREADCRUMB_ITEM_CLASS;
home.title = 'Home';
home.title = PageConfig.getOption('serverRoot') || 'Home';
let ellipsis = document.createElement('span');
ellipsis.className =
MATERIAL_CLASS + ' ' + BREADCRUMB_ELLIPSES + ' ' + BREADCRUMB_ITEM_CLASS;
Expand Down