a43f71ec14
Add a button to reveal/hide the values to help prevent accidental disclosure of sensitive information from wandering on a page. Closes #21358
18 lines
569 B
Text
18 lines
569 B
Text
- page_title "Variables"
|
|
|
|
.row.prepend-top-default.append-bottom-default
|
|
.col-lg-3
|
|
= render "content"
|
|
.col-lg-9
|
|
%h5.prepend-top-0
|
|
Add a variable
|
|
= render "form", btn_text: "Add new variable"
|
|
%hr
|
|
%h5.prepend-top-0
|
|
Your variables (#{@project.variables.size})
|
|
- if @project.variables.empty?
|
|
%p.settings-message.text-center.append-bottom-0
|
|
No variables found, add one with the form above.
|
|
- else
|
|
= render "table"
|
|
%button.btn.btn-info.js-btn-toggle-reveal-values{"data-status" => 'hidden'} Reveal Values
|