]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4071 Replace widget.<widget.key>.prop.<property>.X by widget.<widget.key>.prope...
authorJulien Lancelot <julien.lancelot@gmail.com>
Tue, 22 Jan 2013 16:30:31 +0000 (17:30 +0100)
committerJulien Lancelot <julien.lancelot@gmail.com>
Tue, 22 Jan 2013 16:30:31 +0000 (17:30 +0100)
sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget_properties.html.erb

index 8c8426c4346e11897b5725fe344b34c9c8c0604e..c903a8b2c8a193b1fd71dc1e084a2c3d2180110f 100644 (file)
 
     <% widget.java_definition.getWidgetProperties().each do |property_def| %>
       <tr>
-        <td class="form-key-cell"><%= message("widget." + widget.key + ".prop." + property_def.key() + ".name", :default => property_def.key()) -%><%= " *" unless property_def.optional() -%></td>
+        <td class="form-key-cell"><%= message("widget." + widget.key + ".property." + property_def.key() + ".name", :default => property_def.key()) -%><%= " *" unless property_def.optional() -%></td>
         <td class="form-val-cell" id="row_<%= property_def.key() -%>">
           <%= property_value_field(property_def, widget.property_text_value(property_def.key()), widget) -%>
           <div class="form-val-note">
             <%
                property_description = message("widget." + widget.key + ".param." + property_def.key(), :default => '')
-               property_description = message("widget." + widget.key + ".prop." + property_def.key() + ".desc", :default => property_def.description()) unless property_description != ''
+               property_description = message("widget." + widget.key + ".property." + property_def.key() + ".desc", :default => property_def.description()) unless property_description != ''
             -%>
             <%= property_description -%>
           </div>