From: Stas Vilchik Date: Fri, 21 Mar 2014 10:57:13 +0000 (+0600) Subject: SONAR-4366 Some UI improvements X-Git-Tag: 4.3~328 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=13b1ab6ba41b0ecabf4cc1d1221b13d92be269f9;p=sonarqube.git SONAR-4366 Some UI improvements --- diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index 3aab929203e..2ab11ccf802 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -1559,14 +1559,14 @@ quality_profiles.copy_new_name=New name #------------------------------------------------------------------------------ quality_gates.noQualityGates=No Quality Gates -quality_gates.add=Add Quality Gate +quality_gates.add=Create Quality Gate quality_gates.rename=Rename Quality Gate: quality_gates.copy=Copy Quality Gate: quality_gates.conditions=Conditions quality_gates.projects=Projects quality_gates.add_condition=Add Condition quality_gates.no_conditions=No Conditions -quality_gates.introduction=Only project measures are checked against thresholds. Modules, packages and classes are ignored. +quality_gates.introduction=Only project measures are checked against thresholds. Sub-projects, directories and files are ignored. quality_gates.health_icons=Project health icons represent: quality_gates.projects_for_default=Every project not specifically associated to a quality gate will be associated to this one by default. quality_gates.projects_for_default.edit=You must not select specific projects for the default quality gate. diff --git a/sonar-server/src/main/webapp/coffee/quality-gate/collections/quality-gates.coffee b/sonar-server/src/main/webapp/coffee/quality-gate/collections/quality-gates.coffee index 976f1058370..1d1c8542481 100644 --- a/sonar-server/src/main/webapp/coffee/quality-gate/collections/quality-gates.coffee +++ b/sonar-server/src/main/webapp/coffee/quality-gate/collections/quality-gates.coffee @@ -25,3 +25,6 @@ define [ parse: (r) -> r.qualitygates.map (gate) -> _.extend gate, default: gate.id == r.default + + + comparator: (item) -> item.get('name').toLowerCase() diff --git a/sonar-server/src/main/webapp/js/templates/quality-gates.js b/sonar-server/src/main/webapp/js/templates/quality-gates.js index 47dd03166b6..bfb6744a218 100644 --- a/sonar-server/src/main/webapp/js/templates/quality-gates.js +++ b/sonar-server/src/main/webapp/js/templates/quality-gates.js @@ -12,7 +12,7 @@ function program1(depth0,data) { var buffer = "", helper, options; buffer += "\n
\n \n
\n"; return buffer; } diff --git a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-actions.hbs b/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-actions.hbs index df06013aa54..efab29d2160 100644 --- a/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-actions.hbs +++ b/sonar-server/src/main/webapp/templates/quality-gates/quality-gate-actions.hbs @@ -1,6 +1,6 @@

{{t 'quality_gates.page'}}

{{#if canEdit}} {{/if}} \ No newline at end of file