aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-10-22 11:07:34 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-10-22 11:07:34 +0200
commite35c10f148f8a3ed94401a6c8e650ad35b2fe2f3 (patch)
tree2d5ebd245baef413a928d74fed3a9053c5a76ce8
parent43bd95259384774227f2fe30499cda23f02e910d (diff)
downloadsonarqube-e35c10f148f8a3ed94401a6c8e650ad35b2fe2f3.tar.gz
sonarqube-e35c10f148f8a3ed94401a6c8e650ad35b2fe2f3.zip
Replace ruby link_to by HTML in user group console
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb
index 3093ba2fc64..3038e8134ad 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/groups/index.html.erb
@@ -29,10 +29,11 @@
<td class="left"><%= h group.name -%></td>
<td class="left" style="word-break:break-all"><%= h group.description -%></td>
<td class="left">
- <span id="count-<%= u group.name -%>"><%= group.users.count -%></span> (<%= link_to "select", { :action => 'select_user', :id => group.id}, {:id => "select-#{u group.name}", :class => 'link-action'} -%>)
+ <span id="count-<%= u group.name -%>"><%= group.users.count -%></span>
+ (<a id="select-<%= u group.name -%>" class="link-action" href="<%= ApplicationController.root_context -%>/groups/select_user/<%= group.id -%>">select</a>)
</td>
<td class="operations">
- <a id='edit-<%= h group.name -%>' method='get' class='open-modal link-action' href="<%= ApplicationController.root_context -%>/groups/edit_form/<%= h group.id -%>">Edit</a>
+ <a id='edit-<%= h group.name -%>' class='open-modal link-action' href="<%= ApplicationController.root_context -%>/groups/edit_form/">Edit</a>
&nbsp;
<%= link_to_action message('delete'), "#{ApplicationController.root_context}/groups/delete/#{group.id}",
:class => 'link-action link-red',