publicationsummaryviews

package
v1.0.59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

templ: version: v0.2.747

templ: version: v0.2.747

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultActions

func DefaultActions(args DefaultActionsArgs) templ.Component

func GetUserContributorRoles added in v1.0.59

func GetUserContributorRoles(p *models.Publication, user *models.Person) string

func Summary

func Summary(c *ctx.Ctx, args SummaryArgs) templ.Component

Types

type DefaultActionsArgs

type DefaultActionsArgs struct {
	URL    *url.URL
	Target string
}

type SummaryArgs

type SummaryArgs struct {
	Publication *models.Publication
	URL         *url.URL
	Target      string
	Actions     templ.Component
	Footer      templ.Component
	Links       templ.Component
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL