diff options
Diffstat (limited to 'sonar-server')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_copy_form.html.erb | 12 | ||||
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_rename_form.html.erb | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_copy_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_copy_form.html.erb index 58f4a342bf0..bff1d8c7bfc 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_copy_form.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_copy_form.html.erb @@ -1,4 +1,4 @@ -<form id="form-copy-profile" method="post" action="profiles/copy"> +<form id="copy-profile-form" method="post" action="profiles/copy"> <input type="hidden" name="id" value="<%= @profile.id -%>"/> <fieldset> <div class="form-head"> @@ -10,16 +10,16 @@ <% end %> <div class="form-field"> <label for="name">New name <em>*</em></label> - <input id="new-name" name="name" type="text" size="50" maxlength="100"/> + <input id="copy-name" name="name" type="text" size="50" maxlength="100"/> </div> </div> <div class="form-foot"> - <input type="submit" value="Copy"/> - <a href="#" onclick="return closeModalWindow()"><%= message('cancel') -%></a> + <input type="submit" value="<%= h message('copy') -%>" id="copy-submit"/> + <a href="#" onclick="return closeModalWindow()" id="copy-cancel"><%= h message('cancel') -%></a> </div> </fieldset> </form> <script> - $j("#form-copy-profile").modalForm(); - $j('#new-name').focus(); + $j("#copy-profile-form").modalForm(); + $j('#copy-name').focus(); </script>
\ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_rename_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_rename_form.html.erb index 47d7b61f919..4da833e138d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_rename_form.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/_rename_form.html.erb @@ -1,4 +1,4 @@ -<form id="form-rename-profile" method="post" action="profiles/rename"> +<form id="rename-profile-form" method="post" action="profiles/rename"> <input type="hidden" name="id" value="<%= @profile.id -%>"/> <fieldset> @@ -17,12 +17,12 @@ </div> </div> <div class="form-foot"> - <input type="submit" value="Rename"/> - <a href="#" onclick="return closeModalWindow()"><%= message('cancel') -%></a> + <input type="submit" value="<%= h message('rename') -%>" id="rename-submit"/> + <a href="#" onclick="return closeModalWindow()" id="rename-cancel"><%= h message('cancel') -%></a> </div> </fieldset> </form> <script> - $j("#form-rename-profile").modalForm(); + $j("#rename-profile-form").modalForm(); $j('#new-name').focus(); </script>
\ No newline at end of file |