mirror of https://github.com/Chocobozzz/PeerTube
Route: Video edit -> video update
parent
4c200caae6
commit
c663955b25
|
@ -38,7 +38,7 @@
|
||||||
<div class="video-buttons" *ngIf="isInSelectionMode() === false">
|
<div class="video-buttons" *ngIf="isInSelectionMode() === false">
|
||||||
<my-delete-button (click)="deleteVideo(video)"></my-delete-button>
|
<my-delete-button (click)="deleteVideo(video)"></my-delete-button>
|
||||||
|
|
||||||
<my-edit-button [routerLink]="[ '/videos', 'edit', video.uuid ]"></my-edit-button>
|
<my-edit-button [routerLink]="[ '/videos', 'update', video.uuid ]"></my-edit-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -83,7 +83,7 @@
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li *ngIf="isVideoUpdatable()" role="menuitem">
|
<li *ngIf="isVideoUpdatable()" role="menuitem">
|
||||||
<a class="dropdown-item" title="Update this video" href="#" [routerLink]="[ '/videos/edit', video.uuid ]">
|
<a class="dropdown-item" title="Update this video" href="#" [routerLink]="[ '/videos/update', video.uuid ]">
|
||||||
<span class="icon icon-edit"></span> Update
|
<span class="icon icon-edit"></span> Update
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -64,7 +64,7 @@ const videosRoutes: Routes = [
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'edit/:uuid',
|
path: 'update/:uuid',
|
||||||
loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule',
|
loadChildren: 'app/videos/+video-edit/video-update.module#VideoUpdateModule',
|
||||||
data: {
|
data: {
|
||||||
meta: {
|
meta: {
|
||||||
|
|
Loading…
Reference in New Issue