diff options
Diffstat (limited to 'sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs')
-rw-r--r-- | sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs b/sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs index c4632830440..bca87c9c4a0 100644 --- a/sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs +++ b/sonar-server/src/main/hbs/component-viewer/header/issues-header.hbs @@ -1,3 +1,9 @@ +<div class="component-viewer-header-time-changes"> + <a class="highlighted-link js-issues-time-changes"> + {{#if period}}Added {{period.label}}{{else}}<i class="icon-period"></i> Time Changes{{/if}} + </a> +</div> + {{#ifNotEmpty state.severities}} <div class="component-viewer-header-expanded-bar-section"> <div class="component-viewer-header-expanded-bar-section-title"> @@ -59,18 +65,13 @@ </ul> </div> - <div class="component-viewer-header-expanded-bar-section component-viewer-header-expanded-bar-section-actions"> - <div class="component-viewer-header-expanded-bar-section-title"> </div> - <ul class="component-viewer-header-expanded-bar-section-list"> - <li><a class="link-action js-issues-time-changes"> - <span><i class="icon-period"></i> - {{#if period}}Added {{period.label}}{{else}}Time Changes{{/if}}</span> - +<div class="component-viewer-header-expanded-bar-section component-viewer-header-expanded-bar-section-actions"> + <div class="component-viewer-header-expanded-bar-section-title"> </div> + <ul class="component-viewer-header-expanded-bar-section-list"> + {{#if state.canBulkChange}} + <li><a class="link-action js-issues-bulk-change"> + <span><i class="icon-bulk-change"></i> {{t 'bulk_change'}}</span> </a></li> - {{#if state.canBulkChange}} - <li><a class="link-action js-issues-bulk-change"> - <span><i class="icon-bulk-change"></i> {{t 'bulk_change'}}</span> - </a></li> - {{/if}} - </ul> - </div> + {{/if}} + </ul> +</div> |