Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(900)

Unified Diff: Source/devtools/front_end/documentation/DocumentationView.js

Issue 532223002: DevTools: [Documentation] Update empty page style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@iliia-patch
Patch Set: Comments addressed Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/devtools/front_end/documentation/DocumentationView.js
diff --git a/Source/devtools/front_end/documentation/DocumentationView.js b/Source/devtools/front_end/documentation/DocumentationView.js
index be3a3bf6d60ef5376bb20f9998454ebb1a5c3bd7..e9ce67a045719a85d94c0e618491a9ce95dacbb6 100644
--- a/Source/devtools/front_end/documentation/DocumentationView.js
+++ b/Source/devtools/front_end/documentation/DocumentationView.js
@@ -75,8 +75,10 @@ WebInspector.DocumentationView.prototype = {
_createEmptyPage: function()
{
this.element.removeChildren();
- var pageTitle = this.element.createChild("div", "documentation-page-title");
- pageTitle.textContent = WebInspector.UIString("Documentation not available");
+ var emptyPage = this.element.createChild("div", "documentation-empty-page fill");
+ var pageTitle = emptyPage.createChild("div", "documentation-not-found");
+ pageTitle.textContent = "No documentation found.";
+ emptyPage.createChild("div", "documentation-empty-page-align");
},
__proto__: WebInspector.View.prototype
« no previous file with comments | « no previous file | Source/devtools/front_end/documentationView.css » ('j') | Source/devtools/front_end/documentationView.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698