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