Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
d332661f
Commit
d332661f
authored
Feb 05, 2020
by
Celine Noirot
Browse files
Merge branch 'issue#163' into 'dev'
Merge branch Issue#163 with dev See merge request
!94
parents
089484bc
6797508c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/res/js/tx_nG6_pi6.js
View file @
d332661f
...
...
@@ -827,7 +827,8 @@ $(function () {
$
.
each
(
val
,
function
(
key
,
values
){
var
checkbox
=
'
<center><input id="chk_demand_"
'
+
key
+
'
" type="checkbox" value="
'
+
key
+
'
" class="chk_demand"></center>
'
;
var
row
=
[
checkbox
,
key
,
"
<a href='index.php?id=3&tx_nG6_pi1[project_id]=
"
+
values
[
"
project_id
"
]
+
"
'>
"
+
values
[
"
project_name
"
]
+
"
</a>
"
,
tx_nG6_pi6_redirection_page
=
$
(
"
#tx_nG6_pi6_redirection_page
"
).
val
();
var
row
=
[
checkbox
,
key
,
"
<a href='index.php?id=
"
+
tx_nG6_pi6_redirection_page
+
"
&tx_nG6_pi1[project_id]=
"
+
values
[
"
project_id
"
]
+
"
'>
"
+
values
[
"
project_name
"
]
+
"
</a>
"
,
get_octet_string_representation
(
values
[
"
purge_size
"
],
2
),
values
[
"
mail_sent_date
"
]];
...
...
@@ -895,7 +896,8 @@ $(function () {
global_purgeable_size
+=
values
[
"
total_purgeable_size
"
];
nb_purgeable_project
+=
1
;
var
checkbox
=
'
<center><input id="chk_obsolete_
'
+
key
+
'
" class="chk_obsolete" type="checkbox" value="
'
+
key
+
'
"></center>
'
;
var
row
=
[
checkbox
,
"
<a href='index.php?id=3&tx_nG6_pi1[project_id]=
"
+
key
+
"
'>
"
+
values
[
"
project_name
"
]
+
"
</a>
"
,
values
[
"
nb_runs
"
]];
tx_nG6_pi6_redirection_page
=
$
(
"
#tx_nG6_pi6_redirection_page
"
).
val
();
var
row
=
[
checkbox
,
"
<a href='index.php?id=
"
+
tx_nG6_pi6_redirection_page
+
"
&tx_nG6_pi1[project_id]=
"
+
key
+
"
'>
"
+
values
[
"
project_name
"
]
+
"
</a>
"
,
values
[
"
nb_runs
"
]];
var
nb_purgeable_element
=
0
,
nb_all_element
=
parseInt
(
values
[
"
nb_runs
"
],
10
);
if
(
values
[
"
state
"
].
hasOwnProperty
(
'
stored
'
)
&&
values
[
"
state
"
][
"
stored
"
]
!=
null
&&
values
[
"
state
"
][
"
stored
"
][
'
nb_run
'
]
!=
null
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment