Commit 74a621385fe0905f3373d947eb0aeba1af1ebb80
1 parent
a51562d6
Exists in
master
and in
4 other branches
Extend user infiormation displayed on admin user page
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
app/views/admin/users/show.html.haml
| ... | ... | @@ -33,7 +33,14 @@ |
| 33 | 33 | %span.light Email: |
| 34 | 34 | %strong |
| 35 | 35 | = mail_to @user.email |
| 36 | - | |
| 36 | + %li | |
| 37 | + %span.light Can create groups: | |
| 38 | + %strong | |
| 39 | + = @user.can_create_group ? "Yes" : "No" | |
| 40 | + %li | |
| 41 | + %span.light Personal projects limit: | |
| 42 | + %strong | |
| 43 | + = @user.projects_limit | |
| 37 | 44 | %li |
| 38 | 45 | %span.light Member since: |
| 39 | 46 | %strong | ... | ... |