Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
ed0da126
Commit
ed0da126
authored
Mar 23, 2018
by
M. Chardon
Browse files
reglage affichage lien activité moodle
parent
b927db95
Changes
7
Hide whitespace changes
Inline
Side-by-side
adim_project/adim_app/static/_src/anobj-mgr/views/anobj/properties-panel.js
View file @
ed0da126
...
...
@@ -288,8 +288,15 @@ define([
},
'
attp_url
'
:
function
(
$el
,
model
,
opts
)
{
if
(
opts
&&
opts
.
url
&&
opts
.
label
)
{
$el
.
attr
(
"
href
"
,
opts
.
url
);
if
(
opts
)
{
if
(
typeof
opts
===
'
string
'
){
opts
=
JSON
.
parse
(
opts
);
}
if
(
typeof
opts
===
'
object
'
&&
opts
.
url
&&
opts
.
label
)
{
$el
.
attr
(
"
href
"
,
opts
.
url
);
}
else
{
$el
.
closest
(
'
.aom-prop-shm
'
).
hide
();
}
}
else
{
$el
.
closest
(
'
.aom-prop-shm
'
).
hide
();
}
...
...
adim_project/adim_app/static/js/anodate_app.min.js
View file @
ed0da126
...
...
@@ -27082,8 +27082,15 @@ define('anobj-mgr/views/anobj/properties-panel',[
},
'attp_url': function ($el, model, opts) {
if (opts && opts.url && opts.label) {
$el.attr("href", opts.url);
if (opts) {
if (typeof opts === 'string'){
opts = JSON.parse(opts);
}
if (typeof opts === 'object' && opts.url && opts.label) {
$el.attr("href", opts.url);
} else {
$el.closest('.aom-prop-shm').hide();
}
} else {
$el.closest('.aom-prop-shm').hide();
}
adim_project/adim_app/static/js/cimaf_analysis.min.js
View file @
ed0da126
...
...
@@ -27097,8 +27097,15 @@ define('anobj-mgr/views/anobj/properties-panel',[
},
'attp_url': function ($el, model, opts) {
if (opts && opts.url && opts.label) {
$el.attr("href", opts.url);
if (opts) {
if (typeof opts === 'string'){
opts = JSON.parse(opts);
}
if (typeof opts === 'object' && opts.url && opts.label) {
$el.attr("href", opts.url);
} else {
$el.closest('.aom-prop-shm').hide();
}
} else {
$el.closest('.aom-prop-shm').hide();
}
adim_project/adim_app/static/js/cimaf_app.min.js
View file @
ed0da126
...
...
@@ -27082,8 +27082,15 @@ define('anobj-mgr/views/anobj/properties-panel',[
},
'attp_url': function ($el, model, opts) {
if (opts && opts.url && opts.label) {
$el.attr("href", opts.url);
if (opts) {
if (typeof opts === 'string'){
opts = JSON.parse(opts);
}
if (typeof opts === 'object' && opts.url && opts.label) {
$el.attr("href", opts.url);
} else {
$el.closest('.aom-prop-shm').hide();
}
} else {
$el.closest('.aom-prop-shm').hide();
}
adim_project/adim_app/static/js/geomo_app.min.js
View file @
ed0da126
...
...
@@ -27082,8 +27082,15 @@ define('anobj-mgr/views/anobj/properties-panel',[
},
'attp_url': function ($el, model, opts) {
if (opts && opts.url && opts.label) {
$el.attr("href", opts.url);
if (opts) {
if (typeof opts === 'string'){
opts = JSON.parse(opts);
}
if (typeof opts === 'object' && opts.url && opts.label) {
$el.attr("href", opts.url);
} else {
$el.closest('.aom-prop-shm').hide();
}
} else {
$el.closest('.aom-prop-shm').hide();
}
adim_project/adim_app/static/js/newao_app.min.js
View file @
ed0da126
...
...
@@ -16656,8 +16656,15 @@ define('anobj-mgr/views/anobj/properties-panel',[
},
'attp_url': function ($el, model, opts) {
if (opts && opts.url && opts.label) {
$el.attr("href", opts.url);
if (opts) {
if (typeof opts === 'string'){
opts = JSON.parse(opts);
}
if (typeof opts === 'object' && opts.url && opts.label) {
$el.attr("href", opts.url);
} else {
$el.closest('.aom-prop-shm').hide();
}
} else {
$el.closest('.aom-prop-shm').hide();
}
adim_project/adim_app/static/js/su_app.min.js
View file @
ed0da126
...
...
@@ -16656,8 +16656,15 @@ define('anobj-mgr/views/anobj/properties-panel',[
},
'attp_url': function ($el, model, opts) {
if (opts && opts.url && opts.label) {
$el.attr("href", opts.url);
if (opts) {
if (typeof opts === 'string'){
opts = JSON.parse(opts);
}
if (typeof opts === 'object' && opts.url && opts.label) {
$el.attr("href", opts.url);
} else {
$el.closest('.aom-prop-shm').hide();
}
} else {
$el.closest('.aom-prop-shm').hide();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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