未验证 提交 1c46a0b1 编写于 作者: S Sandeep Somavarapu 提交者: GitHub

Merge pull request #94435 from sh7dm/display-ext-version

Display extension version
......@@ -149,6 +149,7 @@ interface IExtensionEditorTemplate {
preview: HTMLElement;
builtin: HTMLElement;
license: HTMLElement;
version: HTMLElement;
publisher: HTMLElement;
installCount: HTMLElement;
rating: HTMLElement;
......@@ -239,6 +240,11 @@ export class ExtensionEditor extends BaseEditor {
license.style.display = 'none';
license.tabIndex = 0;
const version = append(subtitle, $('span.version'));
version.textContent = localize('version', 'Version');
version.style.display = 'none';
version.tabIndex = 0;
const description = append(details, $('.description'));
const extensionActions = append(details, $('.actions'));
......@@ -280,6 +286,7 @@ export class ExtensionEditor extends BaseEditor {
icon,
iconContainer,
identifier,
version,
ignoreActionbar,
installCount,
license,
......@@ -335,6 +342,8 @@ export class ExtensionEditor extends BaseEditor {
template.name.textContent = extension.displayName;
template.identifier.textContent = extension.identifier.id;
template.version.textContent = extension.version;
template.version.style.display = 'inherit';
template.preview.style.display = extension.preview ? 'inherit' : 'none';
template.builtin.style.display = extension.type === ExtensionType.System ? 'inherit' : 'none';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册