contributorviews

package
v1.0.62 Latest Latest
Warning

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

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

Documentation

Overview

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 FormFieldContributorSuggest

func FormFieldContributorSuggest(c *ctx.Ctx, args FormFieldContributorSuggestArgs) templ.Component

func SuggestSummary

func SuggestSummary(c *ctx.Ctx, contributor *models.Contributor, isCurrent bool) templ.Component

func Summary

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

Types

type FormFieldContributorSuggestArgs

type FormFieldContributorSuggestArgs struct {
	Name       string
	Label      string
	Value      string
	SuggestURL string
	AutoFocus  bool
}

type SummaryArgs

type SummaryArgs struct {
	Role                    string
	Contributors            []*models.Contributor
	URL                     string
	URLTarget               string
	CurrentUserRoles        string
	CanViewMoreContributors bool
	CanEditContributors     bool
}

Jump to

Keyboard shortcuts

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