Commit fc43c4e7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Restyle admin/user page

Signed-off-by: default avatarDmitriy Zaporozhets <>
parent 87e0fe6f
......@@ -8,7 +8,8 @@ class Admin::UsersController < Admin::ApplicationController
def show
@projects = user.authorized_projects
@personal_projects = user.personal_projects
@joined_projects = user.projects.joined(@user)
def new
This diff is collapsed.
.panel-heading Personal projects
- @projects.each do |project|
- projects.each do |project|
= link_to_project project
......@@ -13,12 +13,14 @@
%small member since #{@user.created_at.stamp("Nov 12, 2031")}
%h4 Groups:
= render 'groups', groups: @groups
- if @groups.any?
%h4 Groups:
= render 'groups', groups: @groups
%h4 User Activity:
= render @events
= render 'profile', user: @user
- if @projects.present?
= render 'projects'
= render 'projects', projects: @projects
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment