aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2013-10-15 09:49:50 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2013-10-15 09:49:50 +0200
commit7b463fa85d8a00bd1dfed220634258a67658ef8f (patch)
tree366e885b968ebddc5b24024b395d0c74b83fc860
parenta7dd42300f540f4d4b7bb3f4ace4ca3a606d3bcb (diff)
downloadsonarqube-7b463fa85d8a00bd1dfed220634258a67658ef8f.tar.gz
sonarqube-7b463fa85d8a00bd1dfed220634258a67658ef8f.zip
Replace flow control keywords with logic operators
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/_create_form.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/_create_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/_create_form.html.erb
index 1156521fcda..21e2ddac455 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/_create_form.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/provisioning/_create_form.html.erb
@@ -5,7 +5,7 @@
<p class="error"><%= h flash.now[:error] -%></p>
<% end %>
<div class="modal-head">
- <h2><%= message((@id.nil? or @id.empty?) ? 'qualifiers.new.TRK' : 'qualifiers.update.TRK') -%></h2>
+ <h2><%= message((@id.nil? || @id.empty?) ? 'qualifiers.new.TRK' : 'qualifiers.update.TRK') -%></h2>
</div>
<div class="modal-body">
<div class="modal-field">
@@ -18,7 +18,7 @@
</div>
</div>
<div class="modal-foot">
- <input type="submit" value="<%= h message((@id.nil? or @id.empty?) ? 'qualifiers.create.TRK' : 'qualifiers.update.TRK') -%>" id="save-submit"/>
+ <input type="submit" value="<%= h message((@id.nil? || @id.empty?) ? 'qualifiers.create.TRK' : 'qualifiers.update.TRK') -%>" id="save-submit"/>
<a href="#" onclick="return closeModalWindow()" id="save-cancel"><%= h message('cancel') -%></a>
</div>
</fieldset>