diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-09 15:35:55 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-11 08:48:20 +0200 |
commit | c663955b259d356806c7b79b535fd5cfaeaf2b5e (patch) | |
tree | cc43089b617d7068f8655d0dfba782418bc003e8 /client | |
parent | 4c200caae63b3f5602dcd93e94b52c39e01857fe (diff) | |
download | PeerTube-c663955b259d356806c7b79b535fd5cfaeaf2b5e.tar.gz PeerTube-c663955b259d356806c7b79b535fd5cfaeaf2b5e.tar.zst PeerTube-c663955b259d356806c7b79b535fd5cfaeaf2b5e.zip |
Route: Video edit -> video update
Diffstat (limited to 'client')
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html index 66ce3a77b..a31cb0c3d 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html | |||
@@ -38,7 +38,7 @@ | |||
38 | <div class="video-buttons" *ngIf="isInSelectionMode() === false"> | 38 | <div class="video-buttons" *ngIf="isInSelectionMode() === false"> |
39 | <my-delete-button (click)="deleteVideo(video)"></my-delete-button> | 39 | <my-delete-button (click)="deleteVideo(video)"></my-delete-button> |
40 | 40 | ||
41 | <my-edit-button [routerLink]="[ '/videos', 'edit', video.uuid ]"></my-edit-button> | 41 | <my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button> |
42 | </div> | 42 | </div> |
43 | </div> | 43 | </div> |
44 | </div> | 44 | </div> |
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index 990b9400d..212bfdd8c 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html | |||
@@ -83,7 +83,7 @@ | |||
83 | </li> | 83 | </li> |
84 | 84 | ||
85 | <li *ngIf="isVideoUpdatable()" role="menuitem"> | 85 | <li *ngIf="isVideoUpdatable()" role="menuitem"> |
86 | <a class="dropdown-item" title="Update this video" href="#" [routerLink]="[ '/videos/edit', video.uuid ]"> | 86 | <a class="dropdown-item" title="Update this video" href="#" [routerLink]="[ '/videos/update', video.uuid ]"> |
87 | <span class="icon icon-edit"></span> Update | 87 | <span class="icon icon-edit"></span> Update |
88 | </a> | 88 | </a> |
89 | </li> | 89 | </li> |
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 561137b70..572f33d5e 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -64,7 +64,7 @@ const videosRoutes: Routes = [ | |||
64 | } | 64 | } |
65 | }, | 65 | }, |
66 | { | 66 | { |
67 | path: 'edit/:uuid', | 67 | path: 'update/:uuid', |
68 | loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule', | 68 | loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule', |
69 | data: { | 69 | data: { |
70 | meta: { | 70 | meta: { |