This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/users_new_interface/show.html.erb

61 lines
3.1 KiB
Plaintext
Raw Normal View History

2012-10-15 07:30:48 +00:00
<% content_for :side_bar do %>
<%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('admin.user'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-member', :side_bar_content => 'admin/users_new_interface/side_bar'} %>
<% end %>
2012-09-17 04:06:21 +00:00
<%= render :partial => "js_and_css"%>
2012-09-13 10:39:27 +00:00
<div id="isotope" class="user-data">
<div id="module-nav">
<div class="arrow_next pull-right"><i class="icon-chevron-right"></i></div>
<div class="arrow_prev pull-left"><i class="icon-chevron-left"></i></div>
<div class="module-nav-view">
<ul class="nav nav-pills">
2012-10-15 07:30:48 +00:00
<%= content_tag :li, :class=>(params[:show_plugin_profile].nil? ? "active" : nil) do %>
<%= link_to t("admin.new_admin.users.all_plugin_summary")%>
2012-10-15 07:30:48 +00:00
<% end -%>
<% @plugins.each do |plugin| %>
<%= content_tag :li, :class=>(params[:show_plugin_profile] == plugin.name ? "active" : nil) do %>
<%= link_to plugin.name, :show_plugin_profile => plugin.name %>
<% end -%>
2012-10-15 07:30:48 +00:00
<% end -%>
2012-09-13 10:39:27 +00:00
</ul>
</div>
</div>
2012-10-15 07:30:48 +00:00
<%=render :partial => @right_partial %>
2012-09-13 10:39:27 +00:00
</div>
<div class="user-info">
<div id="brand" class="clear">
2012-09-11 02:52:27 +00:00
<p class="gender male"></p>
2012-09-13 10:39:27 +00:00
<div class="user-avatar pull-left">
<p class="reflective"></p>
2012-09-17 04:06:21 +00:00
<%= show_avatar(@user) %>
2012-09-13 10:39:27 +00:00
</div>
2012-09-11 02:52:27 +00:00
<p class="user-name">
2012-09-13 10:39:27 +00:00
<%= @user.name%>
2012-09-11 02:52:27 +00:00
</p>
<p class="user-mail">
<%= @user.email %>
</p>
2012-10-15 05:54:29 +00:00
<%= link_to "<i class='icon-pencil'></i>#{t('admin.edit')}".html_safe,edit_admin_users_new_interface_path(@user),:class=>"btn btn-small"%>
2012-09-11 02:52:27 +00:00
</div>
2012-09-13 10:39:27 +00:00
<div class="user-roles my_scroll">
<div class="scrollbar">
<div class="track">
<div class="thumb">
<div class="end"></div>
2012-09-11 02:52:27 +00:00
</div>
</div>
</div>
2012-09-13 10:39:27 +00:00
<div class="viewport">
<div class="overview">
2012-09-17 04:06:21 +00:00
<%= render :partial=> "user_role",:locals=>{:role_class=>"basic",:i18n=>"admin.new_admin.users.profile",:items=>@profile_data} %>
2012-10-18 10:36:21 +00:00
<%#= render :partial=> "user_role",:locals=>{:role_class=>"teacher",:i18n=>"admin.new_admin.users.roles.teacher",:items=>@teacher_data} %>
<%#= render :partial=> "user_role",:locals=>{:role_class=>"student",:i18n=>"admin.new_admin.users.roles.student",:items=>@student_data}%>
<%#= render :partial=> "user_role",:locals=>{:role_class=>"staff",:i18n=>"admin.new_admin.users.roles.staff",:items=>@staff_data} %>
2012-09-13 10:39:27 +00:00
</div>
<div>
2012-09-11 02:52:27 +00:00
</div>
2012-09-13 10:39:27 +00:00
</div>