small fix for settings for announcement pro feature

This commit is contained in:
Harry Bomrah 2016-08-08 19:14:00 +08:00
parent f8f70e0ebe
commit 3f9446d545
1 changed files with 4 additions and 2 deletions

View File

@ -57,6 +57,7 @@
<span class="help-block">Put 0 for unlimited.</span>
</div>
</div>
<% if AnnouncementSetting.is_pro? %>
<% if !sub_managers.blank? %>
<div class="control-group">
<%= f.label "Approver Setting", :class => "control-label muted" %>
@ -86,11 +87,12 @@
<% end %>
<% end %>
</div>
<% end %>
<div class="form-actions">
<%= f.submit t('submit'), class: 'btn btn-primary' %>
</div>
<% end %>
<% if AnnouncementSetting.is_pro? %>
<div id="approverModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="approverModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
@ -134,7 +136,7 @@
})
</script>
<% end %>