OSDN Git Service

Remove invalid information from /u/:user page
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fri, 21 Jun 2013 13:16:05 +0000 (16:16 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Fri, 21 Jun 2013 13:16:05 +0000 (16:16 +0300)
app/views/users/_projects.html.haml

index 4bee2f0..9f1446c 100644 (file)
@@ -9,12 +9,3 @@
             \/
           %strong.well-title
             = truncate(project.name, length: 45)
-          %span.pull-right.light
-            - if project.owner == user
-              %i.icon-wrench
-            - tm = project.team.get_tm(user.id)
-            - if tm
-              = tm.project_access_human
-%p.light
-  %i.icon-wrench
-  &ndash; user is a project owner