views

package
v1.0.55 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

templ: version: 0.2.476

Index

Constants

View Source
const (
	PublicationObject ActivityObject = iota
	DatasetObject

	CreateEvent ActivityEvent = iota
	PublishEvent
	RepublishEvent
	WithdrawEvent
	LockEvent
	UpdateEvent
	MessageEvent
)

Variables

This section is empty.

Functions

func ActionRequired

func ActionRequired(c *ctx.Ctx, pTotal, dTotal int) templ.Component

func DashboardIcon

func DashboardIcon(c *ctx.Ctx, notification bool) templ.Component

func DraftsToComplete

func DraftsToComplete(c *ctx.Ctx, pTotal, dTotal int) templ.Component

func Home

func Home(c *ctx.Ctx) templ.Component

func InternalServerError

func InternalServerError(c *ctx.Ctx) templ.Component

func NotFound

func NotFound(c *ctx.Ctx) templ.Component

func RecentActivity

func RecentActivity(c *ctx.Ctx, acts []Activity) templ.Component

func UserDashboard

func UserDashboard(c *ctx.Ctx) templ.Component

func UserNotFound added in v1.0.55

func UserNotFound(c *ctx.Ctx) templ.Component

Types

type Activity

type Activity struct {
	Event     ActivityEvent
	User      *models.Person
	Object    ActivityObject
	Datestamp time.Time
	Status    string
	URL       string
	Title     string
}

type ActivityEvent

type ActivityEvent int

type ActivityObject

type ActivityObject int

Jump to

Keyboard shortcuts

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