Skip to content

Commit

Permalink
Locks users and groups if a survey has been synched. re #4383, #4396, #…
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Jan 28, 2019
1 parent 0257f80 commit 9dabd03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions arches/app/templates/views/mobile-survey-designer.htm
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ <h1 class="page-header text-overflow mobile-designer-title">
<input style="width:30%; display:inline-block;"
data-bind="select2Query: {
select2Config: getSelect2GroupsConfig()
}">
}, attr: {disabled: locked}">
</div>
</div>

Expand Down Expand Up @@ -615,10 +615,10 @@ <h1 class="page-header text-overflow mobile-designer-title">
<div class="msm-user-account-panel">
<!--ko foreach: {data: selectedNode().fullusers, as: 'user'} -->
<div class="msm-user-account-item checkbox" data-bind="click: function(){$parent.mobilesurvey.selectedUser(user); return true;};, css: {selected: user.id === $parent.mobilesurvey.selectedUser().id}, visible: user.filtered() === false" class="userrow">
<label class="form-checkbox form-normal form-primary" data-bind="css: {'active': user.approved}" style="padding-left: 25px; padding-top: 3px;">
<input type="checkbox" data-bind="checked: user.approved, event: {'change': $parent.mobilesurvey.toggleIdentity}"/>
<span data-bind="text: user.name"></span>
<label class="form-checkbox form-normal form-primary" data-bind="css: {'active': user.approved, 'disabled': $parent.locked}" style="padding-left: 25px; padding-top: 3px;">
<input type="checkbox" data-bind="checked: user.approved, event: {'change': $parent.mobilesurvey.toggleIdentity}, attr: {disabled: $parent.locked}"/>
</label>
<span style="vertical-align: top" data-bind="text: user.name"></span>
</div>
<!--/ko-->
</div>
Expand Down

0 comments on commit 9dabd03

Please sign in to comment.