Desctiptions removed from dashboard
This commit is contained in:
parent
3d4e32457b
commit
9959669f1c
6 changed files with 13 additions and 81 deletions
|
@ -1,4 +1,4 @@
|
|||
.groups_box
|
||||
.ui-box
|
||||
%h5.title
|
||||
Groups
|
||||
%small
|
||||
|
@ -13,8 +13,6 @@
|
|||
%li
|
||||
= link_to group_path(id: group.path), class: dom_class(group) do
|
||||
%strong.well-title= truncate(group.name, length: 35)
|
||||
%span.edit.light
|
||||
- if group.owner == current_user
|
||||
%i.icon-wrench
|
||||
%span.description
|
||||
%strong= group.description
|
||||
%span.pull-right.light
|
||||
- if group.owner == current_user
|
||||
%i.icon-wrench
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.ui-box.teams_box
|
||||
.ui-box.teams-box
|
||||
%h5.title
|
||||
Teams
|
||||
%small
|
||||
|
@ -12,11 +12,9 @@
|
|||
%li
|
||||
= link_to team_path(id: team.path), class: dom_class(team) do
|
||||
%strong.well-title= truncate(team.name, length: 35)
|
||||
%span.edit.light
|
||||
- if team.owner == current_user
|
||||
%i.icon-wrench
|
||||
- tm = current_user.user_team_user_relationships.find_by_user_team_id(team.id)
|
||||
- if tm
|
||||
= tm.access_human
|
||||
%span.description
|
||||
%strong= team.description
|
||||
%span.pull-right.light
|
||||
- if team.owner == current_user
|
||||
%i.icon-wrench
|
||||
- tm = current_user.user_team_user_relationships.find_by_user_team_id(team.id)
|
||||
- if tm
|
||||
= tm.access_human
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue