Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
web-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
1d5098d2
Commit
1d5098d2
authored
4 years ago
by
Dimitri DI GUSTO
Browse files
Options
Downloads
Plain Diff
Merge branch 'DOS0065640' into 'development'
Fix accessbility on pagination See merge request
!95
parents
c56fe398
45571e03
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!120
DOS0091323
,
!95
Fix accessbility on pagination
Pipeline
#8011
passed
4 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/shared/components/paginator/paginator.component.html
+7
-5
7 additions, 5 deletions
src/app/shared/components/paginator/paginator.component.html
src/i18n/messages.fr.xlf
+1
-1
1 addition, 1 deletion
src/i18n/messages.fr.xlf
with
8 additions
and
6 deletions
src/app/shared/components/paginator/paginator.component.html
+
7
−
5
View file @
1d5098d2
...
...
@@ -31,19 +31,21 @@
<ul>
<ng-container
*ngFor=
"let pageNum of getPages(); let i = index"
>
<li>
<button
*ngIf=
"!loading; else pageNumberDisabled"
<button
*ngIf=
"!loading; else pageNumberDisabled"
[attr.aria-label]=
"pageNum"
(click)=
"onPage(pageNum)"
class=
"button"
[ngClass]=
"{'is-current': pageNum === pageIndex}"
>
{{ pageNum }}
</button>
[ngClass]=
"{'is-current': pageNum === pageIndex}"
[attr.aria-current]=
"pageNum === pageIndex ? 'page' : undefined"
>
{{ pageNum }}
</button>
<ng-template
#pageNumberDisabled
>
<button
class=
"button"
[ngClass]=
"{'is-current': pageNum === pageIndex}"
disabled
>
{{ pageNum }}
</button>
<button
class=
"button"
[ngClass]=
"{'is-current': pageNum === pageIndex}"
[attr.aria-current]=
"pageNum === pageIndex ? 'page' : undefined"
disabled
>
{{ pageNum }}
</button>
</ng-template>
</li>
</ng-container>
</ul>
<!-- Next button -->
<button
class=
"button"
*ngIf=
"lastPage() || loading; else activeNextLink"
<button
class=
"button"
*ngIf=
"lastPage() || loading; else activeNextLink"
i18n-aria-label=
"@@research.pagination.next"
aria-label=
"Next page"
disabled
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
viewBox=
"0 0 15 9"
>
<path
...
...
@@ -69,4 +71,4 @@
</ng-template>
</div>
</div>
</div>
\ No newline at end of file
</div>
This diff is collapsed.
Click to expand it.
src/i18n/messages.fr.xlf
+
1
−
1
View file @
1d5098d2
...
...
@@ -1239,7 +1239,7 @@ Voici la liste des dernières évolutions du portail. Si vous souhaitez contribu
</trans-unit>
<trans-unit
id=
"feedback.close"
datatype=
"html"
>
<source>
Close feedback form
</source>
<target>
Fermer le formulaire
"
Votre avis
"
</target>
<target>
Fermer le formulaire
'
Votre avis
'
</target>
</trans-unit>
<trans-unit
id=
"feedback.formHeader"
datatype=
"html"
>
<source>
Share your opinion
</source>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment