diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-15 11:57:15 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-06-15 14:15:10 +0200 |
commit | 5c16e6bc9776ce706bafb198c1c14936674794d5 (patch) | |
tree | f0ff2273f4a7ad1fc7fc92c9f9e360ef86eec204 /client/src/app/+about/about-instance/about-instance.component.html | |
parent | 089cfa65697b60e6ff109f9bf517458908b7c855 (diff) | |
download | PeerTube-5c16e6bc9776ce706bafb198c1c14936674794d5.tar.gz PeerTube-5c16e6bc9776ce706bafb198c1c14936674794d5.tar.zst PeerTube-5c16e6bc9776ce706bafb198c1c14936674794d5.zip |
Cleanup contact form with URL
Parent component still have the responsability to explicitely open the
modal
Rely on data router param to open or not the modal
Diffstat (limited to 'client/src/app/+about/about-instance/about-instance.component.html')
-rw-r--r-- | client/src/app/+about/about-instance/about-instance.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html index a42bda845..436d486ab 100644 --- a/client/src/app/+about/about-instance/about-instance.component.html +++ b/client/src/app/+about/about-instance/about-instance.component.html | |||
@@ -4,7 +4,7 @@ | |||
4 | <div class="about-instance-title"> | 4 | <div class="about-instance-title"> |
5 | <h1 i18n class="title">About {{ instanceName }}</h1> | 5 | <h1 i18n class="title">About {{ instanceName }}</h1> |
6 | 6 | ||
7 | <a routerLink="contact" i18n *ngIf="isContactFormEnabled" class="contact-admin">Contact administrator</a> | 7 | <a routerLink="/about/contact" i18n *ngIf="isContactFormEnabled" class="contact-admin">Contact administrator</a> |
8 | </div> | 8 | </div> |
9 | 9 | ||
10 | <div class="instance-badges" *ngIf="categories.length !== 0 || languages.length !== 0"> | 10 | <div class="instance-badges" *ngIf="categories.length !== 0 || languages.length !== 0"> |
@@ -218,4 +218,4 @@ | |||
218 | </div> | 218 | </div> |
219 | </div> | 219 | </div> |
220 | 220 | ||
221 | <my-contact-admin-modal></my-contact-admin-modal> | 221 | <my-contact-admin-modal #contactAdminModal></my-contact-admin-modal> |