项目访问数一致问题
This commit is contained in:
parent
35bf351d5d
commit
e7344b6540
|
@ -11,7 +11,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<%# 更新访问数,刷新的时候更新访问次数 %>
|
||||||
|
<% update_visiti_count @project %>
|
||||||
<div class="sy_class_id fl"><p><%= l(:label_project_ivite_code)%><br /><span class="sy_corange"><%= (User.current.member_of?(@project) || User.current.admin?) ? @project.invite_code : "******" %></span></p></div>
|
<div class="sy_class_id fl"><p><%= l(:label_project_ivite_code)%><br /><span class="sy_corange"><%= (User.current.member_of?(@project) || User.current.admin?) ? @project.invite_code : "******" %></span></p></div>
|
||||||
<div class="sy_class_info fl ml15">
|
<div class="sy_class_info fl ml15">
|
||||||
<div class="sy_class_titbox clear">
|
<div class="sy_class_titbox clear">
|
||||||
|
|
|
@ -49,8 +49,7 @@
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<%= render :partial => 'layouts/base_project_top' %>
|
<%= render :partial => 'layouts/base_project_top' %>
|
||||||
<div id="LSide" class="fl">
|
<div id="LSide" class="fl">
|
||||||
<%# 更新访问数,刷新的时候更新访问次数 %>
|
|
||||||
<% update_visiti_count @project %>
|
|
||||||
<!--邀请加入-->
|
<!--邀请加入-->
|
||||||
<div class="subNavBoxProject">
|
<div class="subNavBoxProject">
|
||||||
<div id="project_memu_list">
|
<div id="project_memu_list">
|
||||||
|
|
Loading…
Reference in New Issue