summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-11-01 10:31:22 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-11-01 10:31:22 +0000
commitdc93094572da8cffd6e0f8bb6456420982700260 (patch)
tree411fc7f4cf26f5c74900f1d1ebd8fe8832e47269 /sonar-server
parent632c88629c99be66b63e04d8c5498c3d2ef23cf6 (diff)
downloadsonarqube-dc93094572da8cffd6e0f8bb6456420982700260.tar.gz
sonarqube-dc93094572da8cffd6e0f8bb6456420982700260.zip
SONAR-1643 add a link to configure widget
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb
index 8ec81757294..03a6bcd7a70 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/dashboard/_widget.html.erb
@@ -17,7 +17,7 @@
%>
<% else %>
<div class="widget">
- <p>Please configure the widget <b><%= definition.getTitle() -%></b>.</p>
+ <p>Please <a href="<%= url_for :action => :configure, :id => @dashboard.id, :resource => @resource.id -%>">configure</a> the widget <b><%= definition.getTitle() -%></b>.</p>
</div>
<% end %>
<div style="clear: both;"></div>