diff options
author | Francis Irving <francis@mysociety.org> | 2010-07-20 02:53:02 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-07-20 02:53:02 +0100 |
commit | 0463522a4975434a8e41c01afdb32a0e47a66fcc (patch) | |
tree | 43857e8be6f1a7f3c0983a733092930269153bf3 | |
parent | c6dfc51314dd7771d7ba44fb11ae49efd5894777 (diff) |
Add missing alt texts for profile photos
-rw-r--r-- | app/views/comment/_single_comment.rhtml | 2 | ||||
-rw-r--r-- | app/views/request/show.rhtml | 2 | ||||
-rw-r--r-- | app/views/user/_user_listing_single.rhtml | 2 | ||||
-rw-r--r-- | app/views/user/show.rhtml | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/app/views/comment/_single_comment.rhtml b/app/views/comment/_single_comment.rhtml index 0096e9314..d4282ced8 100644 --- a/app/views/comment/_single_comment.rhtml +++ b/app/views/comment/_single_comment.rhtml @@ -1,7 +1,7 @@ <div class="comment_in_request" id="comment-<%=comment.id.to_s%>"> <% if comment.user && comment.user.profile_photo %> <div class="user_photo_on_comment"> - <img src="<%= get_profile_photo_url(:url_name => comment.user.url_name) %>"> + <img src="<%= get_profile_photo_url(:url_name => comment.user.url_name) %>" alt=""> </div> <% end %> diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml index b08dd04ac..5008e0811 100644 --- a/app/views/request/show.rhtml +++ b/app/views/request/show.rhtml @@ -27,7 +27,7 @@ <% if @info_request.user.profile_photo %> <p class="user_photo_on_request"> - <img src="<%= get_profile_photo_url(:url_name => @info_request.user.url_name) %>"> + <img src="<%= get_profile_photo_url(:url_name => @info_request.user.url_name) %>" alt=""> </p> <% end %> diff --git a/app/views/user/_user_listing_single.rhtml b/app/views/user/_user_listing_single.rhtml index a82dce6b5..9fa70c779 100644 --- a/app/views/user/_user_listing_single.rhtml +++ b/app/views/user/_user_listing_single.rhtml @@ -6,7 +6,7 @@ end %> <% if display_user.profile_photo %> <div class="user_photo_on_search"> <a href="<%=user_url(display_user)%>"> - <img src="<%= get_profile_photo_url(:url_name => display_user.url_name) %>"> + <img src="<%= get_profile_photo_url(:url_name => display_user.url_name) %>" alt=""> </a> </div> <% end %> diff --git a/app/views/user/show.rhtml b/app/views/user/show.rhtml index 366fc67ea..54d864698 100644 --- a/app/views/user/show.rhtml +++ b/app/views/user/show.rhtml @@ -43,7 +43,7 @@ <% if @is_you %> <a href="<%= set_profile_photo_url() %>"> <% end %> - <img src="<%= get_profile_photo_url(:url_name => @display_user.url_name) %>"> + <img src="<%= get_profile_photo_url(:url_name => @display_user.url_name) %>" alt=""> <% if @is_you %> </a> <% end %> |