add inline alert in link tab

pull/1/head
David Benqué 5 years ago
parent 78488d00bf
commit bee6aa42bf

@ -1110,6 +1110,12 @@ define([
])); ]));
} }
// Show alert if user has not dismissed it in the past
linkContent.push(h('div.alert.alert-danger.dismissable', [
h('span.cp-inline-alert-text', Messages.share_linkWarning),
h('span.fa.fa-times')
]));
var link = h('div.cp-share-modal', linkContent); var link = h('div.cp-share-modal', linkContent);
var $link = $(link); var $link = $(link);

Loading…
Cancel
Save