Add missing transition to excluded domains (#2358)

* Add missing transition to and from exluded domains

* Change cancel to back button

* Add angle-left icon to the back button
This commit is contained in:
Daniel James Smith 2022-02-11 17:30:23 +01:00 committed by GitHub
parent 679b1f5ae2
commit bf94e79f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -194,6 +194,9 @@ export const routerTransition = trigger("routerTransition", [
transition("tabs => sync", inSlideLeft),
transition("sync => tabs", outSlideRight),
transition("tabs => excluded-domains", inSlideLeft),
transition("excluded-domains => tabs", outSlideRight),
transition("tabs => options", inSlideLeft),
transition("options => tabs", outSlideRight),

View File

@ -1,7 +1,10 @@
<form #form (ngSubmit)="submit()">
<header>
<div class="left">
<a routerLink="/tabs/settings">{{ "cancel" | i18n }}</a>
<a routerLink="/tabs/settings">
<span class="header-icon"><i class="bwi bwi-angle-left" aria-hidden="true"></i></span>
<span>{{ "back" | i18n }}</span>
</a>
</div>
<h1 class="center">
<span class="title">{{ "excludedDomains" | i18n }}</span>