mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
only show extra msg in pro edition when unlink a device
This commit is contained in:
@@ -1493,8 +1493,10 @@
|
|||||||
<script type="text/template" id="confirm-dialog-with-extra-option-tmpl">
|
<script type="text/template" id="confirm-dialog-with-extra-option-tmpl">
|
||||||
<h3><%= title %></h3>
|
<h3><%= title %></h3>
|
||||||
<p><%= content %></p>
|
<p><%= content %></p>
|
||||||
|
<% if (is_pro) { %>
|
||||||
<label class="checkbox-label">
|
<label class="checkbox-label">
|
||||||
<input type="checkbox" name="confirm-extra-option" id="confirm-extra-option" class="vam" />
|
<input type="checkbox" name="confirm-extra-option" id="confirm-extra-option" class="vam" />
|
||||||
<span class="checkbox-option vam"><%= extraOption %></span>
|
<span class="checkbox-option vam"><%= extraOption %></span>
|
||||||
</label>
|
</label>
|
||||||
|
<% } %>
|
||||||
</script>
|
</script>
|
||||||
|
@@ -297,6 +297,7 @@ define([
|
|||||||
var $yesBtn = $('#confirm-yes');
|
var $yesBtn = $('#confirm-yes');
|
||||||
|
|
||||||
var html = this.confirm_with_extra_option_template({
|
var html = this.confirm_with_extra_option_template({
|
||||||
|
'is_pro': app.pageOptions.is_pro,
|
||||||
'title': title,
|
'title': title,
|
||||||
'content': content,
|
'content': content,
|
||||||
'extraOption': extraOption
|
'extraOption': extraOption
|
||||||
|
Reference in New Issue
Block a user