view refactoring

This commit is contained in:
gitlabhq 2011-11-02 11:21:17 -04:00
parent 5e12f10c14
commit 5fb1b9ffe3
15 changed files with 67 additions and 20 deletions

View file

@ -1,6 +0,0 @@
%div.top_project_menu
%span= link_to "Users", admin_users_path, :style => "width:50px;", :class => controller.controller_name == "users" ? "current" : nil
%span= link_to "Projects", admin_projects_path, :style => "width:50px;", :class => controller.controller_name == "projects" ? "current" : nil
%span= link_to "Teams", admin_team_members_path, :style => "width:50px;", :class => controller.controller_name == "team_members" ? "current" : nil
%span= link_to "Emails", admin_emails_path, :style => "width:50px;", :class => controller.controller_name == "mailer" ? "current" : nil

View file

@ -1,5 +1,5 @@
%table
%tr
%thead
%th Name
%th Code
%th Path

View file

@ -1,7 +1,7 @@
- @admin_team_members.group_by(&:project).sort.each do |project, members|
%h3= link_to project.name, [:admin, project]
%table
%tr
%thead
%th Name
%th Email
%th Read

View file

@ -1,5 +1,5 @@
%table
%tr
%thead
%th Admin
%th Name
%th Email