Skip to content

Commit 53dc8b5

Browse files
author
mariuszfoltak
committed
Remove attribute from BootstrapPaginator template
1 parent 36ea636 commit 53dc8b5

File tree

5 files changed

+21
-15
lines changed

5 files changed

+21
-15
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## 0.2.2 (2016-03-21)
2+
3+
Bugfixes:
4+
5+
- remove `href` attribute from BootstrapPaginator template

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ npm -i angular2-table
99
## Usage example
1010

1111
app.ts
12-
```TypeScript
12+
```typescript
1313
import {Component} from 'angular2/core';
1414
import {DataTableDirectives} from 'angular2-datatable/datatable';
1515

@@ -24,7 +24,7 @@ app.ts
2424
```
2525

2626
app.html
27-
```HTML
27+
```html
2828
<table class="table table-striped" [mfData]="data" #mf="mfDataTable">
2929
<thead>
3030
<tr>

mf-angular2-table/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CHANGELOG.md

mf-angular2-table/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular2-datatable",
3-
"version": "0.2.0",
3+
"version": "0.2.2",
44
"description": "DataTable component for Angular2 framework",
55
"main": "datatable",
66
"scripts": {

mf-angular2-table/src/BootstrapPaginator.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,42 +9,42 @@ import {Paginator} from "./Paginator";
99
[activePage]="activePage" (activePageChange)="changeActivePage($event)">
1010
<nav class="pagination" *ngIf="p.lastPage>1">
1111
<li [class.disabled]="activePage <= 1" (click)="activePage = 1">
12-
<a href="#">&laquo;</a>
12+
<a>&laquo;</a>
1313
</li>
1414
<li *ngIf="activePage > 4 && activePage + 1 > p.lastPage" (click)="activePage = activePage - 4">
15-
<a href="#">{{activePage-4}}</a>
15+
<a>{{activePage-4}}</a>
1616
</li>
1717
<li *ngIf="activePage > 3 && activePage + 2 > p.lastPage" (click)="activePage = activePage - 3">
18-
<a href="#">{{activePage-3}}</a>
18+
<a>{{activePage-3}}</a>
1919
</li>
2020
<li *ngIf="activePage > 2" (click)="activePage = activePage - 2">
21-
<a href="#">{{activePage-2}}</a>
21+
<a>{{activePage-2}}</a>
2222
</li>
2323
<li *ngIf="activePage > 1" (click)="activePage = activePage - 1">
24-
<a href="#">{{activePage-1}}</a>
24+
<a>{{activePage-1}}</a>
2525
</li>
2626
<li class="active">
27-
<a href="#">{{activePage}}</a>
27+
<a>{{activePage}}</a>
2828
</li>
2929
<li *ngIf="activePage + 1 <= p.lastPage" (click)="activePage = activePage + 1">
30-
<a href="#">{{activePage+1}}</a>
30+
<a>{{activePage+1}}</a>
3131
</li>
3232
<li *ngIf="activePage + 2 <= p.lastPage" (click)="activePage = activePage + 2">
33-
<a href="#">{{activePage+2}}</a>
33+
<a>{{activePage+2}}</a>
3434
</li>
3535
<li *ngIf="activePage + 3 <= p.lastPage && activePage < 3" (click)="activePage = activePage + 3">
36-
<a href="#">{{activePage+3}}</a>
36+
<a>{{activePage+3}}</a>
3737
</li>
3838
<li *ngIf="activePage + 4 <= p.lastPage && activePage < 2" (click)="activePage = activePage + 4">
39-
<a href="#">{{activePage+4}}</a>
39+
<a>{{activePage+4}}</a>
4040
</li>
4141
<li [class.disabled]="activePage >= p.lastPage" (click)="activePage = p.lastPage">
42-
<a href="#">&raquo;</a>
42+
<a>&raquo;</a>
4343
</li>
4444
</nav>
4545
<nav class="pagination pull-right">
4646
<li *ngFor="#rows of rowsOnPageSet" [class.active]="rowsOnPage===rows" (click)="changeRowsOnPage(rows)">
47-
<a href="#">{{rows}}</a>
47+
<a>{{rows}}</a>
4848
</li>
4949
</nav>
5050
</mfPaginator>

0 commit comments

Comments
 (0)