创建项目动态宽度调整
This commit is contained in:
parent
a3126870a1
commit
783ef3eae1
|
@ -1,12 +1,12 @@
|
|||
<% project = Project.find(activity.project_id) %>
|
||||
<% user = User.find(project.user_id)%>
|
||||
<div class="resources mt10">
|
||||
<div class="homepagePostBrief">
|
||||
<div class="container-big mt10">
|
||||
<div class="pr">
|
||||
<div class="homepagePostPortrait">
|
||||
<%= link_to image_tag(url_to_avatar(user), :width => "50", :height => "50"), user_path(user), :alt => "用户头像" %>
|
||||
</div>
|
||||
<div class="homepagePostDes">
|
||||
<div class="homepagePostTo break_word" style="width:620px">
|
||||
<div class="content-big">
|
||||
<div class="homepagePostTo break_word">
|
||||
<%= link_to user.show_name, user_path(user), :class => "newsBlue mr15" %>
|
||||
TO
|
||||
<%= link_to project.to_s+" | 项目", project_path(project.id,:host=>Setting.host_course), :class => "newsBlue ml15" %>
|
||||
|
|
Loading…
Reference in New Issue