proxyviews

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: 8 Imported by: 0

Documentation

Overview

templ: version: v0.2.747

templ: version: v0.2.747

templ: version: v0.2.747

templ: version: v0.2.747

templ: version: v0.2.747

templ: version: v0.2.747

templ: version: v0.2.747

templ: version: v0.2.747

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(c *ctx.Ctx, hits []*models.Person) templ.Component

func Edit

func Edit(c *ctx.Ctx, proxy *models.Person, people, hits []*models.Person) templ.Component

func Index

func Index(c *ctx.Ctx, proxies [][]*models.Person, person *models.Person, pager *pag.Pagination) templ.Component

func List

func List(c *ctx.Ctx, proxies [][]*models.Person, person *models.Person, pager *pag.Pagination) templ.Component

func ListItem

func ListItem(c *ctx.Ctx, p *models.Person) templ.Component

func ListSuggestions

func ListSuggestions(c *ctx.Ctx, people []*models.Person) templ.Component

func People

func People(c *ctx.Ctx, proxy *models.Person, people []*models.Person) templ.Component

func PeopleSuggestions

func PeopleSuggestions(c *ctx.Ctx, proxy *models.Person, hits []*models.Person, proxiedPeople map[string]struct{}) templ.Component

func RefreshList

func RefreshList(c *ctx.Ctx, proxies [][]*models.Person, person *models.Person, pager *pag.Pagination) templ.Component

func Suggestions

func Suggestions(c *ctx.Ctx, hits []*models.Person) templ.Component

func UserList

func UserList(c *ctx.Ctx, people []ProxiedPerson) templ.Component

Types

type ProxiedPerson

type ProxiedPerson struct {
	Person                     *models.Person
	DraftPublicationsCount     int
	WithdrawnPublicationsCount int
	DraftDatasetsCount         int
	WithdrawnDatasetsCount     int
	CandidateRecordsCount      int
}

Jump to

Keyboard shortcuts

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