Commit ac15ae1e by François C.

Merge branch '2207-type-of-members' into 'dev_cooperatic'

distinction des membres à la borne accueil

See merge request !114
parents 49fce986 79774f06
Pipeline #1752 failed with stage
in 1 minute 34 seconds
......@@ -146,8 +146,14 @@ function preview_results() {
for (i in results) {
if (results[i].is_member != false || results[i].is_associated_people != false) {
var m = $('<button>').attr('data-i', i)
if (results[i].is_member != false) {
var m = $('<button style="background-color: #00A573;">').attr('data-i', i)
.text(results[i].name);
html_elts.multi_results.append(m);
}
if (results[i].is_associated_people != false) {
var m = $('<button style="background: #0275D8;">').attr('data-i', i)
.text(results[i].name);
html_elts.multi_results.append(m);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment