'project': '<%= escape_javascript message('issue_filter.criteria.project') -%>',
'severity': '<%= escape_javascript message('issue_filter.criteria.severity') -%>',
'severities': {
- blocker: '<%= escape_javascript message('severity.BLOCKER') -%>',
- critical: '<%= escape_javascript message('severity.CRITICAL') -%>',
- major: '<%= escape_javascript message('severity.MAJOR') -%>',
- minor: '<%= escape_javascript message('severity.MINOR') -%>',
- info: '<%= escape_javascript message('severity.INFO') -%>'
+ BLOCKER: '<%= escape_javascript message('severity.BLOCKER') -%>',
+ CRITICAL: '<%= escape_javascript message('severity.CRITICAL') -%>',
+ MAJOR: '<%= escape_javascript message('severity.MAJOR') -%>',
+ MINOR: '<%= escape_javascript message('severity.MINOR') -%>',
+ INFO: '<%= escape_javascript message('severity.INFO') -%>'
},
'status': '<%= escape_javascript message('issue_filter.criteria.status') -%>',
'statuses': {
<script id="issue-template" type="text/x-handlebars-template">
<div class="line line-small">
- {{severityIcon severity}}{{capitalize severity}}
- {{statusIcon status}}{{capitalize status}}
+ {{severityIcon severity}}{{translate "severities" severity}}
+ {{statusIcon status}}{{translate "statuses" status}}
{{#if resolution}}
- {{resolutionIcon resolution}}{{capitalize resolution}}
+ {{resolutionIcon resolution}}{{translate "resolutions" resolution}}
{{/if}}
<div class="line-right">