Skip to content

Commit

Permalink
[TEAMMATES#10580] Student view team page: Loading Indicator for loadi…
Browse files Browse the repository at this point in the history
…ng teammates not centralised (TEAMMATES#10790)

* centralised loading indicator on Student view team page TEAMMATES#10580

* fixed indidation for solution that centralized Student view team page loading indicator TEAMMATES#10790

* fixed indidation for solution that centralized Student view team page loading indicator TEAMMATES#10790

* snap updated after fixing indentation for solution in PR 10790

Co-authored-by: Ahmed Bahajjaj <[email protected]>
  • Loading branch information
jfrairigh and madanalogy authored Nov 3, 2020
1 parent e7d18b0 commit 0035a68
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,31 +29,21 @@ exports[`StudentCourseDetailsPageComponent should snap when all data are still l
</tm-loading-retry><div
class="section"
>
</tm-loading-retry><tm-loading-spinner>
<div
class="row top-padded"
class="loading-container"
>
<tm-loading-spinner>
<div
class="loading-container"
>
<div
class="row spinner-border text-primary"
role="status"
/>
<div
class="row text-secondary"
>
Loading...
</div>
</div>
</tm-loading-spinner>
<div
class="row spinner-border text-primary"
role="status"
/>
<div
class="row text-secondary"
>
Loading...
</div>
</div>
</div>
</tm-loading-spinner>
</tm-student-course-details-page>
`;

Expand Down Expand Up @@ -93,7 +83,6 @@ exports[`StudentCourseDetailsPageComponent should snap with default fields 1`] =
class="row top-padded"
>
<div
class="col-md-10"
>
Expand Down Expand Up @@ -366,7 +355,6 @@ exports[`StudentCourseDetailsPageComponent should snap with populated fields 1`]
Your teammates:
</strong>
</div>
<div
class="col-md-10"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ <h5 class="d-inline"><strong> Sort By: </strong></h5>
</div>
</tm-loading-retry>

<div class="section">
<div class="section" *tmIsLoading="isLoadingTeammates">
<div class="row top-padded">
<div class="col-md-2" *ngIf="teammateProfiles.length">
<strong>Your teammates:</strong>
</div>
<div class="col-md-10" *tmIsLoading="isLoadingTeammates">
<div class="col-md-10">
<table>
<tbody>
<tr *ngFor="let teammateProfile of teammateProfiles; let i = index">
Expand Down

0 comments on commit 0035a68

Please sign in to comment.