Commit 22be0785 authored by Alexander Randa's avatar Alexander Randa

changing admin disign for users finish

parent f950d788
= render 'form'
= link_to 'Show', [:admin, @admin_user], :class => "right lbutton"
= link_to 'Back', admin_users_path, :class => "right lbutton"
= link_to 'Show', [:admin, @admin_user], :class => "right lbutton"
......@@ -18,8 +18,5 @@
%td= link_to 'Edit', edit_admin_user_path(user), :id => "edit_#{dom_id(user)}"
%td= link_to 'Destroy', [:admin, user], :confirm => 'Are you sure?', :method => :delete
%br
= paginate @admin_users
= link_to 'New User', new_admin_user_path
= link_to 'New User', new_admin_user_path, :class => "lbutton"
- unless notice.nil?
%p#notice= notice
#infoblock
%p
%b Name:
= @admin_user.name
%p
%b Email:
%h2= @admin_user.name
%table.round-borders
%tr
%td
%b
Email:
%td
= @admin_user.email
%p
%b Admin:
= @admin_user.admin
%p
%b Projects limit:
%tr
%td
%b
Admin:
%td= check_box_tag "admin", 1, @admin_user.admin, :disabled => :disabled
%tr
%td
%b
Projects limit:
%td
= @admin_user.projects_limit
%p
%b Skype:
- unless @admin_user.skype.empty?
%tr
%td
%b
Skype:
%td
= @admin_user.skype
%p
%b LinkedIn:
- unless @admin_user.linkedin.empty?
%tr
%td
%b
Linkedin:
%td
= @admin_user.linkedin
%p
%b Twitter:
- unless @admin_user.twitter.empty?
%tr
%td
%b
Twitter:
%td
= @admin_user.twitter
.clear
= link_to 'Edit', edit_admin_user_path(@admin_user)
\|
= link_to 'Back', admin_users_path
%tr
%td{:colspan => 2}
= link_to 'Edit', edit_admin_user_path(@admin_user), :class => "lbutton"
= link_to 'Back', admin_users_path, :class => "right lbutton"
.span-14
%h2 Projects
%table.round-borders
%tr
%thead
%th Name
%th Added
%th Web
......@@ -53,4 +71,4 @@
%td= link_to 'Edit', edit_admin_team_member_path(tm)
%td= link_to 'Cancel', admin_team_member_path(tm), :confirm => 'Are you sure?', :method => :delete
= link_to 'Add To Another Project', new_admin_team_member_path(:team_member => {:user_id => @admin_user.id})
= link_to 'Add To Another Project', new_admin_team_member_path(:team_member => {:user_id => @admin_user.id}), :class => "lbutton"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment