# HG changeset patch # User bsw # Date 1633941563 -7200 # Node ID 9f96b7e6e5f24c894f5bfb797508c43edbaebbbe # Parent 772c18d87b549805ca9c6c88dda109a6637b295b Changed layout of survey diff -r 772c18d87b54 -r 9f96b7e6e5f2 app/main/survey/participate.lua --- a/app/main/survey/participate.lua Mon Oct 11 10:38:04 2021 +0200 +++ b/app/main/survey/participate.lua Mon Oct 11 10:39:23 2021 +0200 @@ -25,21 +25,13 @@ end end -ui.title(_"Survey") +ui.title(survey.title) ui.grid{ content = function() ui.cell_main{ content = function() ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp survey" }, content = function() ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function() - ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = survey.title } ---[[ - ui.container{ - content = _( - "This survey closes in #{closing}.", - { closing = format.interval_text(survey.time_left) } - ) - } ---]] + ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = question.question } end } ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function() if survey_member.finished then @@ -53,7 +45,6 @@ } return else - ui.heading{ level = 2, content = question.question } if question.description then ui.container{ content = question.description } end diff -r 772c18d87b54 -r 9f96b7e6e5f2 static/lf4.css --- a/static/lf4.css Mon Oct 11 10:38:04 2021 +0200 +++ b/static/lf4.css Mon Oct 11 10:39:23 2021 +0200 @@ -741,11 +741,6 @@ margin-top: 0; } -.survey h2 { - font-size: 20px; - line-height: 24px; -} - .trace_list { margin-left: 10px; list-style-type: none;