Skip to content

Commit 1ded40a

Browse files
LiverpoolOwenMarkPieszak
authored andcommitted
Updated naming for ngx-bootstrap (TrilonIO#200)
1 parent b475fa5 commit 1ded40a

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

Client/app/app.module.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { HomeComponent } from './containers/home/home.component';
1616
import { UsersComponent } from './containers/users/users.component';
1717
import { CounterComponent } from './containers/counter/counter.component';
1818
import { ChatComponent } from './containers/chat/chat.component';
19-
import { Ng2BootstrapComponent } from './containers/ng2-bootstrap-demo/ng2bootstrap.component';
19+
import { NgxBootstrapComponent } from './containers/ngx-bootstrap-demo/ngx-bootstrap.component';
2020

2121
import { LinkService } from './shared/link.service';
2222
import { UserService } from './shared/user.service';
@@ -41,7 +41,7 @@ export function createTranslateLoader(http: Http, baseHref) {
4141
UsersComponent,
4242
HomeComponent,
4343
ChatComponent,
44-
Ng2BootstrapComponent
44+
NgxBootstrapComponent
4545
],
4646
imports: [
4747
CommonModule,
@@ -120,9 +120,9 @@ export function createTranslateLoader(http: Http, baseHref) {
120120
}
121121
},
122122
{
123-
path: 'ng2-bootstrap', component: Ng2BootstrapComponent,
123+
path: 'ngx-bootstrap', component: NgxBootstrapComponent,
124124
data: {
125-
title: 'Ng2-bootstrap demo!!',
125+
title: 'Ngx-bootstrap demo!!',
126126
meta: [{ name: 'description', content: 'This is an Demo Bootstrap page Description!' }],
127127
links: [
128128
{ rel: 'canonical', href: 'http://blogs.example.com/bootstrap/something' },

Client/app/components/navmenu/navmenu.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</a>
2929
</li>
3030
<li [routerLinkActive]="['link-active']">
31-
<a [routerLink]="['/ng2-bootstrap']">
31+
<a [routerLink]="['/ngx-bootstrap']">
3232
<span class='glyphicon glyphicon-th-large'></span> ngx-Bootstrap demo
3333
</a>
3434
</li>

Client/app/containers/ng2-bootstrap-demo/ng2bootstrap.component.html renamed to Client/app/containers/ngx-bootstrap-demo/ngx-bootstrap.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<h1>Ng2-bootstrap Demo:</h1>
1+
<h1>Ngx-bootstrap Demo:</h1>
22

33
<blockquote>
4-
<strong>Here we're using Bootstrap via <a href="https://github.com/valor-software/ng2-bootstrap">ng2-bootstrap</a>, which can even be rendered on the server!</strong>
4+
<strong>Here we're using Bootstrap via <a href="https://github.com/valor-software/ngx-bootstrap">ngx-bootstrap</a>, which can even be rendered on the server!</strong>
55
<br>
66
</blockquote>
77

Client/app/containers/ng2-bootstrap-demo/ng2bootstrap.component.ts renamed to Client/app/containers/ngx-bootstrap-demo/ngx-bootstrap.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
@Component({
44
selector: 'app-bootstrap',
5-
templateUrl: './ng2bootstrap.component.html'
5+
templateUrl: './ngx-bootstrap.component.html'
66
})
7-
export class Ng2BootstrapComponent {
7+
export class NgxBootstrapComponent {
88

99
public oneAtATime: boolean = true;
1010
public items = ['Item 1', 'Item 2', 'Item 3'];

0 commit comments

Comments
 (0)