Skip to content

Commit

Permalink
feat(pmp-web): add go back header to repository statistics
Browse files Browse the repository at this point in the history
Change style of repository to consistence one.
  • Loading branch information
Arkadiusz Pałka authored and MaciejSikorski committed Jan 31, 2020
1 parent 8ddf192 commit cb8e8f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ import { PmpWebSharedUiTablePrStatisticModule } from '@pimp-my-pr/pmp-web/shared
import { PmpWebSharedUiHeaderContainerModule } from '@pimp-my-pr/pmp-web/shared/ui-header-container';
import { PmpWebRepositoryRepositoryStatisticsRoutingModule } from './pmp-web-repository-repository-statistics-routing.module';
import { PmpWebRepositoryRepositoryStatisticsDataAccessModule } from '@pimp-my-pr/pmp-web/repository/repository-statistics/data-access';
import { PmpWebSharedUiGoBackHeaderModule } from '@pimp-my-pr/pmp-web/shared/ui-go-back-header';

@NgModule({
imports: [
CommonModule,
PmpWebSharedUiHeaderContainerModule,
PmpWebSharedUiTablePrStatisticModule,
PmpWebRepositoryRepositoryStatisticsRoutingModule,
PmpWebRepositoryRepositoryStatisticsDataAccessModule
PmpWebRepositoryRepositoryStatisticsDataAccessModule,
PmpWebSharedUiGoBackHeaderModule
],
declarations: [RepositoryStatisticsComponent]
})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<div class="repository-statistics__container">
<pmp-go-back-header link="/repository">Projects with PRs pending</pmp-go-back-header>

<div class="repository-statistics__container" *ngIf="repository$ | async">
<pmp-header-container
*ngIf="repository$ | async"
[avatarLabel]="(repository$ | async).name"
[avatarUrl]="(repository$ | async).pictureUrl"
label="Pull requests pending"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
:host {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.repository-statistics__container {
padding: 40px 0;
width: 90%;
max-width: 1400px;
margin: auto;
}

0 comments on commit cb8e8f1

Please sign in to comment.