创建项目动态宽度调整

This commit is contained in:
Tim 2016-10-19 16:29:04 +08:00
parent a3126870a1
commit 783ef3eae1
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
<% project = Project.find(activity.project_id) %> <% project = Project.find(activity.project_id) %>
<% user = User.find(project.user_id)%> <% user = User.find(project.user_id)%>
<div class="resources mt10"> <div class="container-big mt10">
<div class="homepagePostBrief"> <div class="pr">
<div class="homepagePostPortrait"> <div class="homepagePostPortrait">
<%= link_to image_tag(url_to_avatar(user), :width => "50", :height => "50"), user_path(user), :alt => "用户头像" %> <%= link_to image_tag(url_to_avatar(user), :width => "50", :height => "50"), user_path(user), :alt => "用户头像" %>
</div> </div>
<div class="homepagePostDes"> <div class="content-big">
<div class="homepagePostTo break_word" style="width:620px"> <div class="homepagePostTo break_word">
<%= link_to user.show_name, user_path(user), :class => "newsBlue mr15" %> <%= link_to user.show_name, user_path(user), :class => "newsBlue mr15" %>
TO TO
<%= link_to project.to_s+" | 项目", project_path(project.id,:host=>Setting.host_course), :class => "newsBlue ml15" %> <%= link_to project.to_s+" | 项目", project_path(project.id,:host=>Setting.host_course), :class => "newsBlue ml15" %>