diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-07-28 11:53:35 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-07-28 11:53:35 +0200 |
commit | 783c67d13eb8c01fe4f36cc07e321a5102808b0b (patch) | |
tree | ee34b2df8e8917d903e3dc442a7847188bef1524 /server/sonar-web | |
parent | 32baeb8770bbf3a67b2fc24343186708ac5867d6 (diff) | |
download | sonarqube-783c67d13eb8c01fe4f36cc07e321a5102808b0b.tar.gz sonarqube-783c67d13eb8c01fe4f36cc07e321a5102808b0b.zip |
SONAR-5466 Workspace should display the project as well as the module
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/hbs/component-viewer/cw-workspace.hbs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/hbs/component-viewer/cw-workspace.hbs b/server/sonar-web/src/main/hbs/component-viewer/cw-workspace.hbs index 781b1ceba55..039aa76cf49 100644 --- a/server/sonar-web/src/main/hbs/component-viewer/cw-workspace.hbs +++ b/server/sonar-web/src/main/hbs/component-viewer/cw-workspace.hbs @@ -14,8 +14,8 @@ <ul class="component-viewer-workspace-list"> {{#eachReverse workspace}} <li class="component-viewer-workspace-item {{#if active}}active{{/if}}"> - <div class="text-ellipsis subtitle" title="{{component.projectName}} / {{component.subProjectName}}"> - {{component.projectName}} / {{component.subProjectName}} + <div class="text-ellipsis subtitle" title="{{component.projectName}}{{#if component.subProjectName}} / {{component.subProjectName}}{{/if}}"> + {{component.projectName}}{{#if component.subProjectName}} / {{component.subProjectName}}{{/if}} </div> {{#if component.dir}}<div class="text-ellipsis subtitle">{{component.dir}}</div>{{/if}} {{qualifierIcon component.q}} <a class="link-action" data-key="{{component.key}}">{{component.name}}</a> @@ -26,8 +26,8 @@ {{#each options}} <li class="component-viewer-workspace-option text-ellipsis {{#if active}}active{{/if}}" title="{{name}}"> {{#if component}} - <div class="text-ellipsis subtitle" title="{{component.projectName}} / {{component.subProjectName}}"> - {{component.projectName}} / {{component.subProjectName}} + <div class="text-ellipsis subtitle" title="{{component.projectName}}{{#if component.subProjectName}} / {{component.subProjectName}}{{/if}}"> + {{component.projectName}}{{#if component.subProjectName}} / {{component.subProjectName}}{{/if}} </div> {{/if}} {{#if subname}}<div class="text-ellipsis subtitle" title="{{subname}}">{{subname}}</div>{{/if}} |