diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-07-28 12:18:41 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-07-28 12:34:46 +0400 |
commit | 704737f83a84ede82a98b9fc5df71ff065622fd5 (patch) | |
tree | 94e2f440fe996a5c55638afa967a615b057e1d07 | |
parent | 5d4a6f543838403f26e9f18ee0ead44398ffec0f (diff) | |
download | sonarqube-704737f83a84ede82a98b9fc5df71ff065622fd5.tar.gz sonarqube-704737f83a84ede82a98b9fc5df71ff065622fd5.zip |
SONAR-2539 Should not be possible to modify closed review
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb index 55ff8a79433..517ca7dae22 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/_review.html.erb @@ -129,7 +129,7 @@ <div class="discussionComment"> <h4> <%= image_tag("reviews/comment.png") -%> <b><%= comment.user.name -%></b> (<%= distance_of_time_in_words_to_now(comment.created_at) -%>) - <% if is_last_comment && current_user %> + <% if is_last_comment && current_user && !review.isClosed? %> <span class="actions" id="editActions"> <%= image_tag("sep12.png") -%> |