feat: updated text strings conditioned on local or online runtime.

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-02-28 12:05:04 +01:00
commit fdc0bfed02
No known key found for this signature in database

View file

@ -68,11 +68,12 @@ ui_elements <- function(selection) {
), ),
# shiny::tags$script('document.querySelector("#source div").style.width = "100%"'), # shiny::tags$script('document.querySelector("#source div").style.width = "100%"'),
## Update this to change depending on run locally or hosted ## Update this to change depending on run locally or hosted
shiny::helpText( shiny::uiOutput(outputId = "data_sample_text"),
i18n$t( # shiny::helpText(
"Upload a file, get data directly from REDCap or use local or sample data." # i18n$t(
) # "Upload a file, get data directly from REDCap or use local or sample data."
), # )
# ),
shiny::br(), shiny::br(),
shiny::br(), shiny::br(),
shiny::conditionalPanel( shiny::conditionalPanel(