aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2012-07-04 12:12:29 +0200
committerFabrice Bellingard <bellingard@gmail.com>2012-07-04 16:03:00 +0200
commitdf87d3af318a83f788e329b32a040f8b5d34f4a9 (patch)
tree256770c00ea082c65828145a40af5af6bda5bb30 /sonar-server
parent4974cad5a70e5cca6a8d136720feb9f89f8dc2ad (diff)
downloadsonarqube-df87d3af318a83f788e329b32a040f8b5d34f4a9.tar.gz
sonarqube-df87d3af318a83f788e329b32a040f8b5d34f4a9.zip
SONAR-1608 Improve input fields (size and example)
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb7
2 files changed, 6 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb
index cbd8bb3009a..11eeb27ecc4 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project/_key_modules.html.erb
@@ -4,7 +4,7 @@
</td>
<td class="thin nowrap">
<% form_tag( {:action => 'update_key', :id => current_module.id }, :onsubmit => "update_launched();$('loading_#{id_prefix}').show();") do -%>
- <input type="text" value="<%= h(current_module.key) -%>" name="new_key" id="key_<%= id_prefix -%>" size="40">
+ <input type="text" value="<%= h(current_module.key) -%>" name="new_key" id="key_<%= id_prefix -%>" size="80">
<%= submit_tag message('update_key.rename'), :id => 'update_key_' + id_prefix, :class => 'action',
:confirm => message('update_key.are_you_sure_to_rename_x', :params => current_module.key) %>
<a href="#" onclick="$('key_<%= id_prefix -%>').value='<%= h(current_module.key) -%>';"><%= message('update_key.reset') -%></a>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb
index e827469bece..e28d9f59481 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/project/key.html.erb
@@ -51,12 +51,14 @@
<% form_tag( {:action => 'prepare_key_bulk_update', :id => @project.id }) do -%>
<table>
<tr>
- <td style="padding-right: 20px">Replace:</td>
+ <td style="padding-right: 20px"><%= message('update_key.replace') -%>:</td>
<td><input type="text" value="" name="old_prefix" id="old_prefix" size="40"></td>
+ <td class="form-val-note" style="padding-left: 10px;"><%= message('update_key.replace_example') -%></td>
</tr>
<tr>
- <td style="padding-right: 20px">By:</td>
+ <td style="padding-right: 20px"><%= message('update_key.by') -%>:</td>
<td><input type="text" value="" name="new_prefix" id="new_prefix" size="40"></td>
+ <td class="form-val-note" style="padding-left: 10px;"><%= message('update_key.by_example') -%></td>
</tr>
<tr>
<td></td>
@@ -65,6 +67,7 @@
:onclick => "update_launched();$('loading_bulk_update').show();" %>
<span class="loading" id="loading_bulk_update" style="display: none; padding: 3px 10px;"></span>
</td>
+ <td></td>
</tr>
</table>
<% end %>