changing admin disign for projects finish
This commit is contained in:
parent
5488f17389
commit
f950d7881c
|
@ -1,5 +1,4 @@
|
||||||
= render 'form'
|
= render 'form'
|
||||||
|
|
||||||
= link_to 'Show', [:admin, @admin_project]
|
= link_to 'Back', admin_projects_path, :class => "right lbutton"
|
||||||
\|
|
= link_to 'Show', [:admin, @admin_project], :class => "right lbutton"
|
||||||
= link_to 'Back', admin_projects_path
|
|
|
@ -20,7 +20,5 @@
|
||||||
%td= link_to 'Edit', edit_admin_project_path(project), :id => "edit_#{dom_id(project)}"
|
%td= link_to 'Edit', edit_admin_project_path(project), :id => "edit_#{dom_id(project)}"
|
||||||
%td= link_to 'Destroy', [:admin, project], :confirm => 'Are you sure?', :method => :delete
|
%td= link_to 'Destroy', [:admin, project], :confirm => 'Are you sure?', :method => :delete
|
||||||
|
|
||||||
%br
|
|
||||||
|
|
||||||
= paginate @admin_projects
|
= paginate @admin_projects
|
||||||
= link_to 'New Project', new_admin_project_path
|
= link_to 'New Project', new_admin_project_path, :class => "lbutton"
|
||||||
|
|
|
@ -1,31 +1,46 @@
|
||||||
- unless notice.nil?
|
- unless notice.nil?
|
||||||
%p#notice= notice
|
%p#notice= notice
|
||||||
|
|
||||||
#infoblock
|
|
||||||
%h2= @admin_project.name
|
|
||||||
|
|
||||||
%p
|
%h2= @admin_project.name
|
||||||
%b Name:
|
|
||||||
|
%table.round-borders
|
||||||
|
%tr
|
||||||
|
%td
|
||||||
|
%b
|
||||||
|
Name:
|
||||||
|
%td
|
||||||
= @admin_project.name
|
= @admin_project.name
|
||||||
%p
|
%tr
|
||||||
%b Code:
|
%td
|
||||||
|
%b
|
||||||
|
Code:
|
||||||
|
%td
|
||||||
= @admin_project.code
|
= @admin_project.code
|
||||||
%p
|
%tr
|
||||||
%b Path:
|
%td
|
||||||
|
%b
|
||||||
|
Path:
|
||||||
|
%td
|
||||||
= @admin_project.path
|
= @admin_project.path
|
||||||
%p
|
%tr
|
||||||
%b Description:
|
%td
|
||||||
|
%b
|
||||||
|
Description:
|
||||||
|
%td
|
||||||
= @admin_project.description
|
= @admin_project.description
|
||||||
|
%tr
|
||||||
|
%td{:colspan => 2}
|
||||||
|
= link_to 'Edit', edit_admin_project_path(@admin_project), :class => "lbutton"
|
||||||
|
= link_to 'Back', admin_projects_path, :class => "right lbutton"
|
||||||
|
|
||||||
= link_to 'Edit', edit_admin_project_path(@admin_project)
|
|
||||||
\|
|
|
||||||
= link_to 'Back', admin_projects_path
|
|
||||||
|
|
||||||
.span-14
|
.span-14
|
||||||
|
|
||||||
%h2 Team
|
%h2 Team
|
||||||
|
|
||||||
%table.round-borders
|
%table.round-borders
|
||||||
|
%thead
|
||||||
%tr
|
%tr
|
||||||
%th Name
|
%th Name
|
||||||
%th Added
|
%th Added
|
||||||
|
@ -43,4 +58,4 @@
|
||||||
%td.span-2= check_box_tag "admin", 1, @admin_project.admins.include?(tm.user), :disabled => :disabled
|
%td.span-2= check_box_tag "admin", 1, @admin_project.admins.include?(tm.user), :disabled => :disabled
|
||||||
%td= link_to 'Destroy', admin_team_member_path(tm), :confirm => 'Are you sure?', :method => :delete
|
%td= link_to 'Destroy', admin_team_member_path(tm), :confirm => 'Are you sure?', :method => :delete
|
||||||
|
|
||||||
= link_to 'New Team Member', new_admin_team_member_path(:team_member => {:project_id => @admin_project.id})
|
= link_to 'New Team Member', new_admin_team_member_path(:team_member => {:project_id => @admin_project.id}), :class => "lbutton"
|
||||||
|
|
Loading…
Reference in a new issue