[GIT] Evergreen ILS branch rel_3_14 updated. 4130ba116b9f0f5c85890d59c994e8d29149dbe6

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, rel_3_14 has been updated via 4130ba116b9f0f5c85890d59c994e8d29149dbe6 (commit) from 680349c08459576477c8d328cb0d94ad0bd30642 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 4130ba116b9f0f5c85890d59c994e8d29149dbe6 Author: Stephanie Leary <stephanie.leary@equinoxoli.org> Date: Sun Mar 30 04:26:02 2025 +0000 LP2040183 Form labels for patron survey answers Changes the patron survey answers (in the AngularJS staff patron registration form) from button dropdowns to form select elements with proper labels. Allows the survey answers to be set using the keyboard. Release-note: Form labels and keyboard support for patron survey answers Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org> Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index cfad267557..b7bfa1fadc 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -1226,24 +1226,14 @@ within the "form" by name for validation. <div class="col-md-6 reg-field-input"> <div class="row" ng-repeat="question in survey.questions()" style="margin-bottom: 10px;"> - <div class="col-md-6">{{question.question()}}</div> + <label class="col-form-label col-md-6" for="survey_responses-{{question.id()}}"> + {{question.question()}} + </label> <div class="col-md-6"> - <div class="btn-group" uib-dropdown> - <button type="button" class="btn btn-default" uib-dropdown-toggle> - <span style="padding-right: 5px;"> - {{survey_responses[question.id()].answer()}} - </span> - <span class="caret"></span> - </button> - <ul uib-dropdown-menu> - <li ng-repeat="answer in question.answers()"> - <a href - ng-click="field_modified();survey_responses[question.id()] = answer"> - {{answer.answer()}} - </a> - </li> - </ul> - </div> + <select id="survey_responses-{{question.id()}}" class="form-control form-select" + ng-model="survey_responses[question.id()]" + ng-options="answer.answer() for answer in question.answers() track by answer.id()" + ng-change="field_modified();survey_responses[question.id()] = answer"></select> </div> </div> </div> ----------------------------------------------------------------------- Summary of changes: .../src/templates/staff/circ/patron/t_edit.tt2 | 24 +++++++--------------- 1 file changed, 7 insertions(+), 17 deletions(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User