Monorepo for Tangled tangled.org

appview: move template-specific constants to global funcmap #945

merged opened by boltless.me targeting master from sl/rusppvknyzsy

Constants those are mainly used to define a template shouldn't be managed from http handlers. Define constant values in const funcmap so we can easily access them without depending on template params.

This change will make more sense with following change rusppvkn

Signed-off-by: Seongmin Lee git@boltless.me

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xasnlahkri4ewmbuzly2rlc5/sh.tangled.repo.pull/3mc5ynswap222
Interdiff #2 #3
appview/issues/issues.go

This file has not been changed.

appview/knots/knots.go

This file has not been changed.

appview/pages/funcmap.go

This file has not been changed.

appview/pages/pages.go

This file has not been changed.

appview/pages/templates/repo/issues/issue.html

This file has not been changed.

appview/pages/templates/repo/pulls/fragments/pullHeader.html

This file has not been changed.

appview/pages/templates/repo/settings/fragments/sidebar.html

This file has not been changed.

appview/pages/templates/user/settings/fragments/sidebar.html

This file has not been changed.

appview/pulls/pulls.go

This file has not been changed.

appview/repo/settings.go

This file has not been changed.

appview/settings/settings.go

This file has not been changed.

appview/spindles/spindles.go

This file has not been changed.

History

4 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
appview: move template-specific constants to global funcmap
3/3 success
expand
expand 0 comments
pull request successfully merged
1 commit
expand
appview: move template-specific constants to global funcmap
3/3 success
expand
expand 0 comments
1 commit
expand
appview: move template-specific constants to global funcmap
3/3 success
expand
expand 0 comments
1 commit
expand
appview: move template-specific constants to global funcmap
3/3 failed
expand
expand 0 comments