initial commit
This commit is contained in:
21
app/views/team/list.html.slim
Normal file
21
app/views/team/list.html.slim
Normal file
@@ -0,0 +1,21 @@
|
||||
.Panel.u-sm-size1of2.u-spaceSidesAuto.u-spaceSm.u-maxWidthSm
|
||||
.Panel-header
|
||||
h3.Panel-title My Teams
|
||||
.Panel-body
|
||||
- for team in teams
|
||||
- if !team.is_archived_season
|
||||
a.Panel-row.Panel-row--withCells.u-textDecorationNone href="#{url_for team_path :team_id=>team.id }"
|
||||
.Panel-cell.u-flexGrow1
|
||||
b #{team.name}
|
||||
.Panel-cell.u-fontSizeSm.u-size1of3.u-textRight
|
||||
| #{team.season_name}
|
||||
.Panel-row.Panel-row--header
|
||||
| Archived Seasons
|
||||
- for team in teams
|
||||
- if team.is_archived_season
|
||||
a.Panel-row.Panel-row--withCells.u-textDecorationNone href="#{url_for team_path :team_id=>team.id }"
|
||||
.Panel-cell.u-flexGrow1
|
||||
b #{team.name}
|
||||
.Panel-cell.u-fontSizeSm.u-size1of3.u-textRight
|
||||
| #{team.season_name}
|
||||
|
||||
Reference in New Issue
Block a user