diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-06-25 10:15:21 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-06-25 10:15:21 +0200 |
commit | 2cc9785d0a5409588d746c1e9e07525833ef09e0 (patch) | |
tree | a8700c8cb3b815a59e597a7e0774d01bd7554d01 /server/sonar-web/src/main/js/apps/metrics/templates | |
parent | 387b9e20799b9890b9b04636440be718f0cd38f6 (diff) | |
download | sonarqube-2cc9785d0a5409588d746c1e9e07525833ef09e0.tar.gz sonarqube-2cc9785d0a5409588d746c1e9e07525833ef09e0.zip |
SONAR-6570 update web
Diffstat (limited to 'server/sonar-web/src/main/js/apps/metrics/templates')
-rw-r--r-- | server/sonar-web/src/main/js/apps/metrics/templates/metrics-form.hbs | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/metrics/templates/metrics-list-item.hbs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/metrics/templates/metrics-form.hbs b/server/sonar-web/src/main/js/apps/metrics/templates/metrics-form.hbs index 43c533f8416..2739a9076c7 100644 --- a/server/sonar-web/src/main/js/apps/metrics/templates/metrics-form.hbs +++ b/server/sonar-web/src/main/js/apps/metrics/templates/metrics-form.hbs @@ -24,7 +24,7 @@ <label for="create-metric-type">Type<em class="mandatory">*</em></label> <select id="create-metric-type" name="type"> {{#each types}} - <option value="{{key}}" {{#eq key ../type.key}}selected{{/eq}}>{{name}}</option> + <option value="{{this}}" {{#eq this ../type}}selected{{/eq}}>{{t 'metric.type' this}}</option> {{/each}} </select> </div> diff --git a/server/sonar-web/src/main/js/apps/metrics/templates/metrics-list-item.hbs b/server/sonar-web/src/main/js/apps/metrics/templates/metrics-list-item.hbs index d4a59f17d7b..1fd85e6dfa4 100644 --- a/server/sonar-web/src/main/js/apps/metrics/templates/metrics-list-item.hbs +++ b/server/sonar-web/src/main/js/apps/metrics/templates/metrics-list-item.hbs @@ -15,7 +15,7 @@ </div> <div class="display-inline-block text-top width-20"> - <span class="js-metric-type">{{type.name}}</span> + <span class="js-metric-type">{{t 'metric.type' type}}</span> </div> <div class="display-inline-block text-top width-20"> |