Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix upload link accessibility

Chocobozzz4ba9da72a989
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html
index e7991d3985..7822c07033 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.html
@@ -18,7 +18,7 @@
<input type="text" id="targetUrl" [(ngModel)]="targetUrl" class="form-control" />
<div *ngIf="isChannelSyncEnabled()" class="form-group-description" i18n>
- You can also synchronize a remote channel in <a routerLink="/my-library/video-channel-syncs">your library</a>
+ You can also synchronize a remote channel in <a class="text-decoration-underline" routerLink="/my-library/video-channel-syncs">your library</a>
</div>
</div>
diff --git a/client/src/app/+videos/+video-edit/video-add.component.html b/client/src/app/+videos/+video-edit/video-add.component.html
index 7f60f47e31..4688e5890f 100644
--- a/client/src/app/+videos/+video-edit/video-add.component.html
+++ b/client/src/app/+videos/+video-edit/video-add.component.html
@@ -33,7 +33,7 @@
<div *ngIf="isRootUser()" class="upload-message root-user alert alert-warning" i18n>
We recommend you to not use the <strong>root</strong> user to publish your videos, since it's the super-admin account of your instance.
<br />
- Instead, <a routerLink="/admin/users">create a dedicated account</a> to upload your videos.
+ Instead, <a class="text-decoration-underline alert-link" routerLink="/admin/users">create a dedicated account</a> to upload your videos.
</div>
</ng-container>
diff --git a/client/src/app/shared/shared-main/misc/channels-setup-message.component.html b/client/src/app/shared/shared-main/misc/channels-setup-message.component.html
index 539df06bd3..55b5ca732e 100644
--- a/client/src/app/shared/shared-main/misc/channels-setup-message.component.html
+++ b/client/src/app/shared/shared-main/misc/channels-setup-message.component.html
@@ -1,8 +1,7 @@
-<div *ngIf="hasChannelNotConfigured()" class="channels-setup-message alert pt-alert-primary">
+<div *ngIf="hasChannelNotConfigured()" class="alert pt-alert-primary">
<my-global-icon iconName="tip"></my-global-icon>
- <div>
- <div i18n>Some of your channels are not fully set up. Make them welcoming and explicit about what you publish by adding a <strong>banner</strong>, an <strong>avatar</strong> and a <strong>description</strong>.</div>
- <a *ngIf="!hideLink" class="channels-settings-link" routerLink="/my-library/video-channels" i18n>Set up my channels</a>
- </div>
+ <div i18n>Some of your channels are not fully set up. Make them welcoming and explicit about what you publish by adding a <strong>banner</strong>, an <strong>avatar</strong> and a <strong>description</strong>.</div>
+
+ <a *ngIf="!hideLink" class="peertube-button-link grey-button mt-2" routerLink="/my-library/video-channels" i18n>Set up my channels</a>
</div>
diff --git a/client/src/app/shared/shared-main/misc/channels-setup-message.component.scss b/client/src/app/shared/shared-main/misc/channels-setup-message.component.scss
index 195f44164e..beb49864b5 100644
--- a/client/src/app/shared/shared-main/misc/channels-setup-message.component.scss
+++ b/client/src/app/shared/shared-main/misc/channels-setup-message.component.scss
@@ -1,28 +1,14 @@
@use '_variables' as *;
@use '_mixins' as *;
-.channels-setup-message {
- display: flex;
- align-items: center;
- justify-content: center;
+.pt-alert-primary {
+ text-align: center;
}
my-global-icon {
width: 32px;
- align-self: flex-start;
+ display: inline-block;
+ margin-bottom: 0.75rem;
@include apply-svg-color(pvar(--mainColor));
-
- + div {
- margin-left: 10px;
- text-align: center;
- }
-}
-
-.channels-settings-link {
- height: fit-content;
- margin-top: 10px;
-
- @include peertube-button-link;
- @include grey-button;
}