=> Add a link on the project name when a project widget is displayed
in a global dashboard
end
def widget_title(widget)
- resource_name=h(@resource.name) if @resource && @dashboard.global && !widget.java_definition.global
+ resource_name=link_to(@resource.name, {:controller => 'dashboard', :action => 'index', :id => @resource.id}) if @resource && @dashboard.global && !widget.java_definition.global
[resource_name, @widget_title].compact.join(' - ')
end
vertical-align: middle;
}
+#dashboard .widget-title a {
+ color: #FEFEFE;
+}
+
/*CONFIGURATION*/
#dashboard #configure {
position: relative;