fix the link of photo
This commit is contained in:
parent
10a14d5e82
commit
8d75d87ef5
|
@ -110,11 +110,11 @@
|
|||
<tr>
|
||||
<td style="padding-top: 5px">
|
||||
<% if @bid.watcher_users.size>0 %>
|
||||
<% for user in @bid.watcher_users%>
|
||||
|
||||
<%= link_to image_tag(url_to_avatar(user), :class => "avatar", :title => user.name ), user_path(user), :class => "avatar" %> <% end %>
|
||||
<% for user in @bid.watcher_users%>
|
||||
<%= link_to image_tag(url_to_avatar(user), :class => "avatar", :title => user.name ), user_path(user), :class => "avatar" %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<p class="font_lighter"><%= l(:label_project_no_follow) %></p>
|
||||
<p class="font_lighter"><%= l(:label_project_no_follow) %></p>
|
||||
<% end%>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -132,11 +132,11 @@
|
|||
<tr>
|
||||
<td style="padding-top: 5px">
|
||||
<% if @bid.projects.size>0 %>
|
||||
<% for project in @bid.projects%>
|
||||
<%= link_to image_tag(url_to_avatar(project), :class => "avatar", :title => project.name), project_path(project), :class => "avatar" %> <%= image_tag(url_to_avatar(project), :class => "avatar", :title => project.name) %>
|
||||
<% end%>
|
||||
<% for project in @bid.projects%>
|
||||
<%= link_to image_tag(url_to_avatar(project), :class => "avatar", :title => project.name), project_path(project), :class => "avatar" %>
|
||||
<% end%>
|
||||
<% else %>
|
||||
<p class="font_lighter"><%= l(:label_no_bid_project) %></p>
|
||||
<p class="font_lighter"><%= l(:label_no_bid_project) %></p>
|
||||
<% end %>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue