]> source.dussan.org Git - sonarqube.git/blob
6ff8884370cc53eb60758db4641a840b5095ba4b
[sonarqube.git] /
1 <%
2    if current_user && (!@project || has_role?(:user, @project))
3
4      search_options = {}
5      if @project
6        if @project.qualifier == 'TRK'
7          search_options['projectUuids'] = @project.uuid
8        else
9          search_options['componentRootUuids'] = @project.uuid
10        end
11      end
12      search_options['resolved'] = 'false'
13      search_options['assignees'] = current_user.login
14      
15      title = message('widget.my_reviews.name')
16 %>
17
18   <%= render :partial => 'project/widgets/issues/issues_list_widget',
19              :locals => {:search_options => search_options, :title => title, 
20                          :widget_id => widget.id.to_s, :widget_properties => widget_properties} %>
21
22 <% end %>