个人资料页面

This commit is contained in:
cxt 2017-06-08 09:24:37 +08:00
parent d451365a76
commit 4342286d69
2 changed files with 15 additions and 11 deletions

View File

@ -5,7 +5,7 @@
已认证
<% end %>
</div>
<% if !@user.authentication && @apply_user_auth && @apply_user_auth.status == 0 %>
<% if false %>
<%= render :partial => "welcome/one_btn_mask_pop",
:locals => {
:tip1 => "更多功能,需要经过管理员的授权审核",

View File

@ -181,14 +181,18 @@
已认证
</span>
<% else %>
<span class="color-grey ml20">
<i class="fa fa-times-circle-o" aria-hidden="true"></i>
未认证
</span>
<span class="color-orange ml20">
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
认证中
</span>
<% apply_auth = ApplyUserAuthentication.where(:user_id => @user.id).last %>
<% if apply_auth && apply_auth.status == 0 %>
<span class="color-orange ml20">
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
认证中
</span>
<% else %>
<span class="color-grey ml20">
<i class="fa fa-times-circle-o" aria-hidden="true"></i>
未认证
</span>
<% end %>
<% end %>
</p>
</li>
@ -245,9 +249,9 @@
<% title = "" %>
<% language = "" %>
<% end %>
<% if @force %>
<% if false %>
<%= render :partial => "welcome/guidance_mask" %>
<% elsif @auth %>
<% elsif false %>
<%= render :partial => 'welcome/two_btn_mask_pop',
:locals => {
:btn1 => "试用申请",