项目邀请消息样式问题
This commit is contained in:
parent
48a72ff816
commit
60417b2db7
|
@ -1,12 +1,12 @@
|
|||
<% if allow_to_show(ma) %>
|
||||
:<%= link_to "同意", allow_to_join_project_project_memberships_path(:project_id => ma.applied.project, :applied_message_id => ma.id), :remote => true, :method => :post %> |
|
||||
<%= link_to "拒绝", refused_allow_to_join_project_project_memberships_path(:project_id => ma.applied.project, :applied_message_id => ma.id), :remote => true, :method => :get %>
|
||||
:<%= link_to "同意", allow_to_join_project_project_memberships_path(:project_id => ma.applied.project, :applied_message_id => ma.id), :remote => true, :method => :post, :class => "link-blue"%> |
|
||||
<%= link_to "拒绝", refused_allow_to_join_project_project_memberships_path(:project_id => ma.applied.project, :applied_message_id => ma.id), :remote => true, :method => :get, :class => "link-blue" %>
|
||||
<% elsif ma.status == 4 %>
|
||||
被拒绝
|
||||
<span class="fontGrey3">被拒绝</span>
|
||||
<% elsif ma.status == 5 %>
|
||||
您已拒绝
|
||||
<span class="fontGrey3">您已拒绝</span>
|
||||
<% elsif ma.status == 6 %>
|
||||
已通过
|
||||
<span class="fontGrey3">已通过</span>
|
||||
<% elsif ma.status == 7 %>
|
||||
您已同意
|
||||
<span class="fontGrey3">您已同意</span>
|
||||
<% end %>
|
|
@ -22,13 +22,15 @@
|
|||
<li class="homepageNewsPubType fl">
|
||||
<%= render :partial => "users/user_message_applide_users", :locals =>{:ma => ma} %>
|
||||
</li>
|
||||
<li class="homepageNewsContent fl"><a href="javascript:void(0);" class="newsGrey">
|
||||
<li class="homepageNewsContent fl" style="width:283px;"><a href="javascript:void(0);" class="newsGrey">
|
||||
以“<%= applied_project_message_type(ma.applied.role) %>”身份加入
|
||||
<%= link_to ma.applied.project, project_path(ma.applied.project), :class => "link-blue", :target => '_blank' %>
|
||||
</a>
|
||||
</li>
|
||||
<li class="fl" style="width:71px; height:49px;">
|
||||
<span id="applied_project_<%= ma.id %>">
|
||||
<%= render :partial => "users/user_message_applide_action", :locals =>{:ma => ma} %>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="homepageNewsTime fl"><%= time_tag(ma.created_at).html_safe %> </li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue