@use plume_models::medias::Media; @use templates::base; @use template_utils::*; @use routes::*; @(ctx: BaseContext, medias: Vec) @:base(ctx, "Your media", {}, {}, {

@i18n!(ctx.1, "Your media")

@i18n!(ctx.1, "Upload")
@if medias.is_empty() {

@i18n!(ctx.1, "You don't have any media yet.")

}
@for media in medias {
@Html(media.preview_html(ctx.0))

@media.alt_text

}
})