Last active
February 11, 2018 19:37
-
-
Save kutliev/499d0a6214dad4253d80e816008db9cc to your computer and use it in GitHub Desktop.
Spot list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<tbody> | |
<tr *ngFor="let spot of spots"> | |
<td class="has-text-grey">{{ spot.floor }}</td> | |
<td><a routerLink="/spots/{{ spot.slug }}">{{ spot.title }}</a></td> | |
<td>{{ spot.type }}</td> | |
<td class="has-text-right">{{ spot.payments.length }}</td> | |
<td class="has-text-right">{{ spot.maintenances.length }}</td> | |
<td class="has-text-right">{{ spot.cleanings.length }}</td> | |
<td> | |
<a class="button is-primary is-small" routerLink="/spots/{{ spot.slug }}/addevent" title="Add event"> | |
<i class="fas fa-plus"></i> | |
</a> | |
<a class="button is-info is-small" routerLink="/spots/{{ spot.slug }}/edit" title="Edit spot"> | |
<i class="far fa-edit"></i> | |
</a> | |
</td> | |
</tr> | |
</tbody> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment