mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-18 00:00:00 +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">
|
||||
<h3><%= title %></h3>
|
||||
<p><%= content %></p>
|
||||
<% if (is_pro) { %>
|
||||
<label class="checkbox-label">
|
||||
<input type="checkbox" name="confirm-extra-option" id="confirm-extra-option" class="vam" />
|
||||
<span class="checkbox-option vam"><%= extraOption %></span>
|
||||
</label>
|
||||
<% } %>
|
||||
</script>
|
||||
|
@@ -297,6 +297,7 @@ define([
|
||||
var $yesBtn = $('#confirm-yes');
|
||||
|
||||
var html = this.confirm_with_extra_option_template({
|
||||
'is_pro': app.pageOptions.is_pro,
|
||||
'title': title,
|
||||
'content': content,
|
||||
'extraOption': extraOption
|
||||
|
Reference in New Issue
Block a user