<%= l(:label_welcome_trustie) %> , <%= l(:label_welcome_trustie_description) %>
<%= call_hook :view_account_login_top %>
<%= form_tag(signin_path) do %> <%= back_url_hidden_field_tag if is_logout? %> <% unless User.current.logged? %> <% if Setting.openid? %> <% end %>
<%= text_field_tag 'username', params[:username], :tabindex => '1' %>
<%= password_field_tag 'password', nil, :tabindex => '2' %>
<%= text_field_tag "openid_url", nil, :tabindex => '3' %>
<% if Setting.autologin? %> <% end %>
<% if Setting.lost_password? %> <%= link_to l(:label_password_lost), lost_password_path %> <% end %>
<% else %>
<%= l(:label_welcome) %> <%=link_to User.current.lastname< <%= l(:label_join) %>
<%= image_tag(url_to_avatar(User.current), :class => 'avatar') %> <%= link_to l(:label_user_watcher)+"("+User.watched_by(User.current).count.to_s+")", user_path(User.current) %>  <%=link_to l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count)+"("+User.current.watcher_users(User.current.id).count.to_s+")", user_path(User.current) %>
<% unless User.current.memberships.empty? %> <%= l(:label_x_welcome_participate, :count => User.current.memberships.count) %> <%= link_to User.current.memberships.count, {:controller => 'users', :action => 'user_projects', :id => User.current} %> <%= l(:label_welcome_participate_project)%> <% end %>
<% end %> <% end %>
<%= call_hook :view_account_login_bottom %> <% if params[:username].present? %> <%= javascript_tag "$('#password').focus();" %> <% else %> <%= javascript_tag "$('#username').focus();" %> <% end %>
<%= stylesheet_link_tag 'welcome' %>

热门项目

  • DIV布局测试

    给大家一个版本库,路径为trustie2@10.0.47.245:/home/trustie2密码是http://10.0.47.245/trustie21234

  • javatwx

    javamall

  • sz_digital_ocean

    sz_digital_ocean

  • android_1

    android study

  • tair

    Tair is a distributed, high performance key/value storage sy...

热门竞赛

  • tfs

    TFS(Taobao FileSystem)是一个高可扩展、高可用、高性能、面向互联网服务的分布式文件系统,其设计目标是...

  • javatwx

    javamall

  • sz_digital_ocean

    sz_digital_ocean

  • android_1

    android study

  • tair

    Tair is a distributed, high performance key/value storage sy...

最新众包

  • tfs

    TFS(Taobao FileSystem)是一个高可扩展、高可用、高性能、面向互联网服务的分布式文件系统,其设计目标是...

  • javatwx

    javamall

  • sz_digital_ocean

    sz_digital_ocean

  • android_1

    android study

  • tair

    Tair is a distributed, high performance key/value storage sy...

热门课程

  • tfs

    TFS(Taobao FileSystem)是一个高可扩展、高可用、高性能、面向互联网服务的分布式文件系统,其设计目标是...

  • javatwx

    javamall

  • sz_digital_ocean

    sz_digital_ocean

  • android_1

    android study

  • tair

    Tair is a distributed, high performance key/value storage sy...