parent
692411d327
commit
32122796f9
|
@ -17,7 +17,7 @@
|
|||
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'public_new', 'leftside_new','users', :media => 'all' %>
|
||||
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
||||
<%= javascript_heads %>
|
||||
<%= javascript_include_tag "user","avatars"%>
|
||||
<%= javascript_include_tag "avatars"%>
|
||||
<%= heads_for_theme %>
|
||||
<%= call_hook :view_layouts_base_html_head %>
|
||||
<%= yield :header_tags -%>
|
||||
|
@ -318,5 +318,17 @@
|
|||
</div><!--floatbox end-->
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
if($(".top_new").length==0){
|
||||
$("#RSide").css("min-height",$("#LSide").height()-30);
|
||||
}
|
||||
else{
|
||||
$("#RSide").css("min-height",$("#LSide").height()-87);
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg' %>
|
||||
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg',"user" %>
|
||||
<% @center_flag = (User.current == @user) %>
|
||||
<% if @center_flag %>
|
||||
<div class="top_new">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg' %>
|
||||
<%= javascript_include_tag "/assets/kindeditor/kindeditor",'/assets/kindeditor/pasteimg',"user" %>
|
||||
<div id="RSide" class="fl">
|
||||
<div class="users_r_top">
|
||||
<h2 class="users_r_h2">用户留言</h2>
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
<span class="<%= (@user.user_extensions.identity == 0 && @user.allowed_to?(:add_course, nil, :global => true)) ? 'top_new_bg' : 'top_newcourses_bg'%> fl"></span>
|
||||
<% if @user.allowed_to?(:add_project, nil, :global => true) %>
|
||||
<a href="<%= url_for(:controller => 'projects', :action => 'new') %>" class="bgreen_n_btn fr ml10 mt2" target="_blank">新建项目</a>
|
||||
<% else %>
|
||||
<a href="<%= join_project_projects_path %>" data-remote ="true" class="green_n_btn fr mt2">加入项目</a>
|
||||
<% end %>
|
||||
<div class="cl"></div>
|
||||
</div>
|
||||
|
|
|
@ -1,13 +1,3 @@
|
|||
$(function(){
|
||||
if($(".top_new").length==0){
|
||||
$("#RSide").css("min-height",$("#LSide").height()-30);
|
||||
}
|
||||
else{
|
||||
$("#RSide").css("min-height",$("#LSide").height()-87);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
//个人动态
|
||||
$(function(){
|
||||
function init_editor(params){
|
||||
|
|
Loading…
Reference in New Issue