-
- <%= call_hook :view_layouts_base_body_bottom %>
+ 创客主页
forge.trustie.net
- - +
+
+
+
|
+
+
+
|
+
+
+ das
+ |
@@ -34,20 +58,15 @@
@@ -149,28 +169,30 @@
<% if User.current.logged? %>
- <% if User.current.admin?||User.current.login==@user.login%>
-
+ <% if User.current.admin?||User.current.login==@user.login%>
+
-
-
-
-
+
<%= render :partial => 'layouts/base_footer'%>
- <%= image_tag(url_to_avatar(@user), :class => 'avatar2') %> | +<%= image_tag(url_to_avatar(@user), :class => 'avatar2') %> |
- <%=link_to l(:label_user_watcher)+"("+User.watched_by(@user.id).count.to_s+")" ,:controller=>"users", :action=>"user_watchlist"%>
-
- <%=link_to l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count)+"("+@user.watcher_users(@user.id).count.to_s+")", :controller=>"users", :action=>"user_fanslist" %>
-
- <%=link_to l(:label_requirement_focus)+"("+Bid.watched_by(@user).where('reward_type = ?', 1).count.to_s+")" ,:controller=>"users", :action=>"watch_bids"%>
-
-
- <% if @user.id == User.current.id %>
-
@@ -114,34 +136,32 @@
<%= toggle_link l(:label_brief_introduction), 'introduction', {:focus => 'new_form_user_introduction'} %> - <% end %> - <% unless @user.user_extensions.nil? %> -- <%= @user.user_extensions.brief_introduction %> - <% end %> -
- <%= form_for('new_form', :method => :post,
- :url => {:controller => 'words', :action => 'add_brief_introdution'}) do |f|%>
+ <%= link_to l(:label_user_watcher)+"("+User.watched_by(@user.id).count.to_s+")" ,:controller=>"users", :action=>"user_watchlist"%>
-
-
-
-
<%= f.text_area 'user_introduction', :rows => 3,
- :cols => 65,
- :placeholder => "#{l(:label_my_brief_introduction)}",
- :style => "resize: none;",
- :class => 'noline'%> |
-
| ||||||
<%= l(:label_user_mail) %> | <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %> | ||||||||
<%= l(:field_occupation) %>: | <%= @user.user_extensions.occupation %> | -||||||||
<%= l(:label_location) %>: | <%= @user.user_extensions.location %><%= @user.user_extensions.location_city %> | -||||||||
- <% if @user.user_extensions.identity == 0 %> - <%= l(:label_technical_title) %>: | <%= @user.user_extensions.technical_title %> | - <% end %> -||||||||
<%= l(:field_occupation) %>: | -|||||||||
<%= l(:label_location) %>: | -|||||||||
<% if @user.user_extensions.identity == 0 %> + <%= l(:label_technical_title) %>: | <%= @user.user_extensions.technical_title %> | <% end %>||||||||
<%= l(:field_occupation) %>: | +|||||||||
<%= l(:label_location) %>: | +
-
- <% end %>
+
+
+
- <%= render :partial => 'tags/tag', :locals => {:obj => @user,:object_flag => "1"}%>
-
-
+
+ <% end %>
<% end %>
-
-
+
+
-
+
+ <%= render :partial => 'tags/tag', :locals => {:obj => @user,:object_flag => "1"}%>
+
+
<%= l(:label_user_watcher) %>
<% if show_more_watchers?(@user) %>
-
@@ -188,7 +210,9 @@
<%= link_to l(:label_more), :controller => "users", :action => "user_watchlist"%>
+
+ <%= link_to l(:label_more), :controller => "users", :action => "user_watchlist"%>
+
<% end %>
<%= l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count) %>
<% if show_more_fans?(@user) %>
-
<%= link_to l(:label_more), :controller => "users", :action => "user_fanslist"%>
+
+ <%= link_to l(:label_more), :controller => "users", :action => "user_fanslist"%>
+
<% end %>
@@ -212,14 +236,14 @@
<%= render_menu :user_menu %>
<% end %>
-
+
<%= yield %>
<%= call_hook :view_layouts_base_content %>
<%= render_flash_messages %>
@@ -228,7 +252,7 @@