Module
Metajelo.View
- Package
- purescript-metajelo-web
- Repository
- labordynamicsinstitute/metajelo-web
#addEndPunct Source
addEndPunct :: String -> Boolean -> String -> String
Adds punctuation at the end of a text fragement; useful
for dealing with optional values (set skip = false if not
an issue) and cases where epunctuation may not be known
at compile time. For instance, frequently we may want to
set skip to isNothing val
where val is of type Maybe a
.
#mkRecordWidget Source
mkRecordWidget :: MetajeloRecord -> (forall a. Widget HTML a)
#mkSupplementaryProductWidget Source
mkSupplementaryProductWidget :: SupplementaryProduct -> (forall a. Widget HTML a)
#contactWidg Source
contactWidg :: InstitutionContact -> (forall a. Widget HTML a)
#relIdToWidg Source
relIdToWidg :: RelatedIdentifier -> (forall a. Widget HTML a)
#idUrl Source
idUrl :: Identifier -> (forall a. Widget HTML a)
Returns a URL if one can be constructed from the identifier. Otherwise, just returns the identifier as text.
#ipolicyWidg Source
ipolicyWidg :: InstitutionPolicy -> (forall a. Widget HTML a)
- Modules
- Metajelo
- Metajelo.
View