aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-12 06:14:37 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-12 06:15:07 +0200
commit6252ee76fe4260534e0bd31dd3ade1d2c315723a (patch)
tree9d8b6ca6922fdc29d0808aeaae9bf4ab24484f63
parent579f4066b4e3a3a27b12f020af44fba62e5657f4 (diff)
downloadsonarqube-6252ee76fe4260534e0bd31dd3ade1d2c315723a.tar.gz
sonarqube-6252ee76fe4260534e0bd31dd3ade1d2c315723a.zip
Fix typo
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/admin_dashboards/_list.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb2
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb4
3 files changed, 4 insertions, 4 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/admin_dashboards/_list.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/admin_dashboards/_list.html.erb
index 682cfc64979..5490789acc7 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/admin_dashboards/_list.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/admin_dashboards/_list.html.erb
@@ -36,7 +36,7 @@
</td>
<td class="thin nowrap operations">
<% if active_dashboards.size() > 1 %>
- <%= link_to 'Remove from defaults', {:action => :remove, :id => active.id}, {:confirm => 'Are you sure to remove it from default dashboards ?', :method => :post, :id => "remove-#{u active.name}", :class => 'link-action'} %>
+ <%= link_to 'Remove from defaults', {:action => :remove, :id => active.id}, {:confirm => 'Are you sure to remove it from default dashboards?', :method => :post, :id => "remove-#{u active.name}", :class => 'link-action'} %>
<% end %>
</td>
</tr>
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb
index 97d21069baf..8c72243c2ec 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb
@@ -8,7 +8,7 @@
<script>
function deleteRule() {
var count = <%= ActiveRule.count(:conditions => {:rule_id => @rule.id}) -%>;
- var message = 'Are you sure ?';
+ var message = 'Are you sure?';
if (count>0) {
message += ' This rule is activated in ' + count + ' profiles.';
}
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb
index bddf12e12ed..dda97c73c5e 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/users/index.html.erb
@@ -26,7 +26,7 @@
&nbsp;
<%= link_to "Change password", { :id => user.id, :action => 'change_password'}, {:id => "change-password-#{u user.login}", :class => 'link-action'} %>
&nbsp;
- <%= link_to "Delete", {:action => 'destroy', :id => user.id}, {:confirm => "Warning : are you sure to delete this user ?", :method => 'delete',
+ <%= link_to "Delete", {:action => 'destroy', :id => user.id}, {:confirm => "Warning : are you sure to delete this user?", :method => 'delete',
:id => "delete-#{u user.login}", :class => 'link-action link-red'} %>
</td>
</tr>
@@ -70,7 +70,7 @@
<p class="error">
A user with login "<%= @user.login -%>" already exists in the database but is deactivated.<br/>
<br/>
- Do you really want to reactivate this user ?
+ Do you really want to reactivate this user?
</p>
</td>
<tr>