Description added to temas
This commit is contained in:
parent
9f45e01e84
commit
5f657203a1
9 changed files with 74 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
|||
.ui-box.teams-box
|
||||
.ui-box.teams_box
|
||||
%h5.title
|
||||
Teams
|
||||
%small
|
||||
|
@ -12,9 +12,11 @@
|
|||
%li
|
||||
= link_to team_path(id: team.path), class: dom_class(team) do
|
||||
%strong.well-title= truncate(team.name, length: 35)
|
||||
%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
|
||||
%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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue