git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
portal: improved user and slice request/validation
[myslice.git]
/
portal
/
templates
/
validate_pending.html
diff --git
a/portal/templates/validate_pending.html
b/portal/templates/validate_pending.html
index
74176ea
..
e21cac8
100644
(file)
--- a/
portal/templates/validate_pending.html
+++ b/
portal/templates/validate_pending.html
@@
-6,7
+6,7
@@
function on_click_event() {
var ids = [];
$('.portal__validate__checkbox').each(function(i, el) {
function on_click_event() {
var ids = [];
$('.portal__validate__checkbox').each(function(i, el) {
- if ($(el).
attr
('checked')) {
+ if ($(el).
prop
('checked')) {
// portal__validate__checkbox__slice__2
var id_array = $(el).attr('id').split('__');
// push(slice__2)
// portal__validate__checkbox__slice__2
var id_array = $(el).attr('id').split('__');
// push(slice__2)
@@
-28,10
+28,10
@@
status_str += ' -- ';
if (result.status) {
status_str += ' -- ';
if (result.status) {
- status_str += '<font color="green">
' + name + '
</font>';
+ status_str += '<font color="green">
OK
</font>';
$('#portal__validate__checkbox__' + request_type__id).hide();
} else {
$('#portal__validate__checkbox__' + request_type__id).hide();
} else {
- status_str += '<font color="red">
' + name + ' (' + result.description + ')
</font>';
+ status_str += '<font color="red">
ERROR: ' + result.description + '
</font>';
}
});
$('#portal__status__' + request_type__id).html(status_str)
}
});
$('#portal__status__' + request_type__id).html(status_str)