Fix satisy typo

This commit is contained in:
Jamie Curnow
2020-04-22 11:11:20 +10:00
parent a7cabdde3a
commit c0e9d1eb2f
7 changed files with 267 additions and 235 deletions

View File

@ -25,7 +25,7 @@
<div class="col-sm-6 col-md-6">
<div class="form-group">
<label class="custom-switch">
<input type="checkbox" class="custom-switch-input" name="satify_any" value="1"<%- typeof satify_any !== 'undefined' && satify_any ? ' checked' : '' %>>
<input type="checkbox" class="custom-switch-input" name="satisfy_any" value="1"<%- typeof satisfy_any !== 'undefined' && satisfy_any ? ' checked' : '' %>>
<span class="custom-switch-indicator"></span>
<span class="custom-switch-description"><%- i18n('access-lists', 'satisfy-any') %></span>
</label>
@ -48,7 +48,7 @@
</div>
</div>
</div>
<div class="items"><!-- items --></div>
</div>

View File

@ -72,7 +72,7 @@ module.exports = Mn.View.extend({
let data = {
name: form_data.name,
satify_any: !!form_data.satify_any,
satisfy_any: !!form_data.satisfy_any,
items: items_data,
clients: clients_data
};

View File

@ -18,7 +18,7 @@
<%- i18n('access-lists', 'client-count', {count: clients.length || 0}) %>
</td>
<td>
<% if (satify_any) { %>
<% if (satisfy_any) { %>
<%- i18n('str', 'any') %>
<%} else { %>
<%- i18n('str', 'all') %>