small fix for settings for announcement pro feature
This commit is contained in:
parent
f8f70e0ebe
commit
3f9446d545
|
@ -57,6 +57,7 @@
|
||||||
<span class="help-block">Put 0 for unlimited.</span>
|
<span class="help-block">Put 0 for unlimited.</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<% if AnnouncementSetting.is_pro? %>
|
||||||
<% if !sub_managers.blank? %>
|
<% if !sub_managers.blank? %>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<%= f.label "Approver Setting", :class => "control-label muted" %>
|
<%= f.label "Approver Setting", :class => "control-label muted" %>
|
||||||
|
@ -86,11 +87,12 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
<% end %>
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<%= f.submit t('submit'), class: 'btn btn-primary' %>
|
<%= f.submit t('submit'), class: 'btn btn-primary' %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% if AnnouncementSetting.is_pro? %>
|
||||||
<div id="approverModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="approverModalLabel" aria-hidden="true">
|
<div id="approverModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="approverModalLabel" aria-hidden="true">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
|
@ -134,7 +136,7 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue